This repository is a boilerplate for quickly setting up a new Symfony 7 project with a ready-to-use Docker configuration in a dev environment.
Warning
The Docker configuration in this template is for development purposes only (for now). It is not intended for production use.
It provides:
✅ An Apache web server
✅ Support for SQLite or MySQL databases
✅ Database management tools: PHPMyAdmin
✅ Mailpit as fake SMTP server
✅ A Docker environment for easy setup
✅ Castor as a task runner
Before using this template, ensure you have:
- PHP installed
- Castor installed
- Docker & Docker Compose
-
Clone your newly created repository
-
Initialize the project with:
castor project:init
-
Adapt the Docker configuration to your needs
Follow the instructions in the
compose.dev.yml
file to configure the Docker development environment. -
Start the Docker Stack with:
castor docker:start
If you have any suggestions or find any issues, please open an issue.