A repository to clone and start your php, laravel or lumem projects in docker! Configured by a docker-compose file with everthing you need to start a PHP 8.1 project!
- PHP 8.1.6 FPM
- MySQL
- Nginx
Only docker and docker-compose installed =)
- Setup docker/database/.env file with yours optional credentials
- Run docker-compose up command
- Done!
VSCode config extension to use remote xDebug
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9003,
"log": true,
"externalConsole": false,
"pathMappings": {
"/var/www" : "${workspaceRoot}",
},
"ignore": [
"**/vendor/**/*.php"
]
},