This bundle allows the creation of simple and fast administration for Symfony 4 and 5.
Install with composer
composer req phpguild/rhapsody-bundle
Execute install script
vendor/bin/rhapsody install
Edit config/services.yaml
imports:
- { resource: rhapsody.yaml }
Edit config/packages/security.yaml
security:
firewalls:
admin:
pattern: ^/admin
anonymous: lazy
- YAML routes
config/routes/admin
- Actions
src/Action/Admin
- Templates
templates/admin
The context of firewall define the app name, admin
is used by default.