Using Container Services
Navigating Services
Our DDEV setup for this project provides services to ease the development process.
Website
EasyAdmin Administration Panel
API Platform Landing Page
Mailpit Inbox
PHPMyAdmin Database Manager
Container SSH Access
Current Online Documentation
Extra Container Services
Beyond launching the dev container, you may want to run additional services that are provided by the DDEV setup.
Live Asset Server
If you want to run the ViteJS powered live asset server that can automatically update or refresh your pages on changes, you can run the following command in a separate terminal tab:
Warning
This live asset server is intended to reduce friction while developing the frontend locally, but asset changes will still need to be built before deploying to production.
Scheduler Services / Email Queue
Processing Symfony Messenger Tasks
If you want to process Symfony Messenger scheduler/async tasks (such as sending and receiving emails through mailpit), you will need to run the Symfony Messenger consumer in a separate terminal tab:
Using Mailpit
If you want to send and receive emails while testing, be sure to complete the following two steps:
- Ensure you are using the local dev mailer's dsn in your
./.env
file: - Ensure you are consuming messages from Symfony by running the following command in another terminal:
Disabling Asynchronous Mail
If you want to disable asynchronous actions, you can do so by opening
config/packages.messenger.yaml
and changing the value Symfony\Component\Mailer\Messenger\SendEmailMessage
from mailer
, scheduled
, etc to sync
.
Watching Symfony Logs
If you want to track realtime dev logs, you can run the following command in another terminal tab:
- Next Up: Managing Frontend Assets