This is a simple example of how to use Symfony with Frankenphp.
- Docker
- Docker Compose
- Clone this repository
- Create a
.env.localfile in the project root and set the APP_SECRET variable - Run
make startto build and start the containers - Run
make vendor-devto create vendor for dev - Access the application at
http://localhost:8080
Run make to see all available commands.
- PHP: FrankenPHP container
- Database: PostgreSQL
- Mailer: Mailpit for email testing
- The application code is mounted in the PHP container at
/app - Xdebug is available and can be enabled by setting
XDEBUG_MODEenvironment variable
- PostgreSQL is accessible on port 5432
- Database credentials are set via environment variables