- Refactor the project to improve its architecture and make it more maintainable.
- Add tests to the project.
The project contains
- Entities and their associations.
- Login form and after successful login, you'll land on a page with some statistics.
- Edit profile form.
- Run the project with the docker setup. (Thank you Kévin Dunglas https://github.com/dunglas)
- Create the database with the following command:
docker-compose exec php bin/console doctrine:database:create
- Update the schema with the following command:
docker-compose exec php bin/console doctrine:schema:update --force
- Load the fixtures with the following command:
docker-compose exec php bin/console doctrine:fixtures:load
- Open the project in your browser: https://localhost
- Login with the following credentials:
username: [email protected], password: 123123
A Docker-based installer and runtime for the Symfony web framework, with full HTTP/2, HTTP/3 and HTTPS support.
- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --no-cache
to build fresh images - Run
docker compose up --pull --wait
to start the project - Open
https://localhost
in your favorite web browser and accept the auto-generated TLS certificate - Run
docker compose down --remove-orphans
to stop the Docker containers.
- Production, development and CI ready
- Installation of extra Docker Compose services with Symfony Flex
- Automatic HTTPS (in dev and in prod!)
- HTTP/2, HTTP/3 and Preload support
- Built-in Mercure hub
- Vulcain support
- Native XDebug integration
- Just 2 services (PHP FPM and Caddy server)
- Super-readable configuration
Enjoy!
- Build options
- Using Symfony Docker with an existing project
- Support for extra services
- Deploying in production
- Debugging with Xdebug
- TLS Certificates
- Using a Makefile
- Troubleshooting
Symfony Docker is available under the MIT License.
Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.