Complete Dockerized developer stack for PHP developers.
Includes:
- Nginx.
- Mysql.
- PHP (extensions, composer, so on.).
Also, includes a bash tool to initialize the docker containers and Symfony 7 project easily.
- Clone the project.
- Run
./tools init-containersto build and start all the containers.
if you need an empty Symfony 7 Project:
- Run
./tools init-symfony-project symfony/skeleton:"7.1.*"to initialize the Symfony 7 project. - Add
0.0.0.0 project.localto/etc/hosts. - Go to the browser and enter to: http://project.local/.
That's it!
- You have to install WSL.
- Run
./tools init-containersto build and start all the containers.
Note: If you get some error executing the bash script could be that the format of the file is not Unix (LF), to convert it you need to use dos2unix.
sudo apt install dos2unix
dos2unix tools
if you need an empty Symfony 7 Project:
- Run
./tools init-symfony-project symfony/skeleton:"7.1.*"to initialize the Symfony 7 project. - Add
127.0.0.1 project.localto/etc/hosts. - Go to the browser and enter to: http://project.local/.
That's it!
Run ./tools help to see all available options.
Special thanks to:
Berny Cantos Who showed me how to fix the user's permission problems.