title: Introduction type: index
Laradock is a full PHP development environment for Docker.
It supports a variety of common services, all pre-configured to provide a ready PHP development environment.
Dockerfile
.Dockerfile
).docker-compose
).Let's see how easy it is to setup our demo stack PHP
, NGINX
, MySQL
, Redis
and Composer
:
1 - Clone Laradock inside your PHP project:
git clone https://github.com/Laradock/laradock.git
2 - Enter the laradock folder and rename env-example
to .env
.
cp env-example .env
3 - Run your containers:
docker-compose up -d nginx mysql phpmyadmin redis workspace
4 - Open your project's .env
file and set the following:
DB_HOST=mysql
REDIS_HOST=redis
QUEUE_HOST=beanstalkd
5 - Open your browser and visit localhost: http://localhost
.
That's it! enjoy :)
Laradock, adheres to the 'separation of concerns' principle, thus it runs each software on its own Docker Container. You can turn On/Off as many instances as you want without worrying about the configurations.
To run a chosen container from the list below, run
docker-compose up -d {container-name}
. The container name{container-name}
is the same as its folder name. Example to run the "PHP FPM" container, use the name "php-fpm".
Web Servers:
Load Balancers:
PHP Compilers:
Database Management Systems:
Database Management Apps:
Cache Engines:
Message Brokers:
Mail Servers:
Log Management:
Testing:
Monitoring:
Search Engines:
IDE's
Miscellaneous:
PHP CLI
Composer
Git
Vim
xDebug
Linuxbrew
Node
V8JS
Gulp
SQLite
Laravel Envoy
Deployer
Yarn
SOAP
Drush
Wordpress CLI
You can choose, which tools to install in your workspace container and other containers, from the .env
file.
If you modify
docker-compose.yml
,.env
or anydockerfile
file, you must re-build your containers, to see those effects in the running instance.
If you can't find your Software in the list, build it yourself and submit it. Contributions are welcomed :)
Full PHP development environment based on Docker.
Full PHP development environment based on Docker.
Laradock is an MIT-licensed open source project with its ongoing development made possible entirely by the support of all these smart and generous people, from code contributors to financial contributors. 💜
![]() Mahmoud Zalt @mahmoudz |
![]() Bo-Yi Wu @appleboy |
![]() Philippe Trépanier @philtrep |
![]() Mike Erickson @mikeerickson |
![]() Dwi Fahni Denni @zeroc0d3 |
![]() Thor Erik @thorerik |
![]() Winfried van Loon @winfried-van-loon |
![]() TJ Miller @sixlive |
![]() Yu-Lung Shao (Allen) @bestlong |
![]() Milan Urukalo @urukalo |
![]() Vince Chu @vwchu |
![]() Huadong Zuo @zuohuadong |
![]() Lan Phan @lanphan |
![]() Ahkui @ahkui |
![]() < Join Us > @laradock |
You can support us using any of the methods below:
1: Open Collective
2: Paypal
3: Github Sponsors
4: Patreon
Sponsoring is an act of giving in a different fashion. 🌱
You can sponsor us using any of the methods below:
1: Sponsor via Open Collective.
2: Email us at support@laradock.io.
Sponsors logos are displayed on the github repository page and the documentation website home page.
MIT © Mahmoud Zalt