- Dockerized Symfony app
- Requests Yahoo finance API
- Caches responses using Redis
- Displays data in table format
- Displays data in chart format
- Emails send using async process (Mailer + Messenger + Mailtrap on local)
- Form fields generated using entity
- Form validation using entity validation (HTML5 gets generated for frontend)
- Tests included (partial for controller and services)
-
Run
docker compose build --pull --no-cache(it will take a while the 1st time) -
Run
docker compose up -
Open https://localhost/form in your favorite web browser and play with the form
-
Run
docker-compose run php sh -c "php bin/console messenger:consume async”to consume emails -
Run tests using command
docker-compose run php sh -c "php bin/phpunit" -
Run
docker compose down --remove-orphansto shut down and remove containers
Enjoy!
- 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
Symfony Docker is available under the MIT License.
Symfony Docker Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.