This stack contains some essentials to quick start your symfony project:
- Docker: dockerized development environment
- Authentication: Registration, Email verfication, Password Reset, two-factor authentication (2FA) with BackupCodes, TrustedDevice
- EasyAdmin 4.0: EasyAdmin is a fast, beautiful and modern admin generator for Symfony applications.
- Email Templates: most used elements (header, footer, button) in separated files for an easy include
- Multiple Languages: the core features are in translation fiels, easy implementation of other languages
- API Plattform: The API Platform with token authentication is ready to use.
- Traits: Reusable Entityfields: createdAt, updatedAt, deletedAt (softdelete), isActive, UUID
- Database Logging: Most critical and technical issues shall be logged into files, but some user actions may be logged into the database. A simple Logging engine is used to log events into the database
- PHP Coding Standards Fixer: normalize your PHP code with CS-fixer
|
|
sudo docker-compose up -d
make setup-app
Browse to localhost:8001/login and use admin:admin as credentials. Do not forget to change the password!
- app/.env.dev/app/.env.prod: DATABASE_URL, MAILER_DSN
- app/config/packages/parameters.yaml: App configuration (Locale, Timezone, Mailer settings)
- app/config/packages/scheb_2fa.yaml: two factor configuration (backupcodes, trusted devices)
- app/config/*.yaml: many other settings
Here are a few make commands
make setup-app
: Setupmake inside
jump inside php-containermake db-reset
: Reset DB in development (mostly used after changing an entity, but no new migration is createdmake cs-check
displays what cs fixes are executed when usingmake cs-fix
make symfony command="make:entity"
execute symfony console commands with makemake composer command="require foobar"
executed composer commands with make