tobur / sonata-generator
Installs: 1 539
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.1.3
- symfony/console: ~3.4|~4.0
- symfony/monolog-bundle: ^3.1
- symfony/twig-bundle: ^4.0
- symfony/yaml: ^4.0
This package is not auto-updated.
Last update: 2024-09-15 05:39:20 UTC
README
SETUP
Run
composer require tobur/sonata-generator
Create monolog chanel:
console:
type: console
process_psr_3_messages: false
level: debug
channels: ["!event", "!doctrine", "!console"]
Add to config:
sonata_generator:
path_to_admin_yaml: config/packages/admin.yaml
HOW TO USE
Generate admin for entity "Example"
php bin/console generate:sonata-admin 'App\Entity\Example' 'App\Admin'
Generate admin for all entities in interactive mode
php bin/console generate:sonata-admin 'App\Entity\' 'App\Admin' 1