huitiemesens / sonata-admin-generator-bundle
A tool to auto generate basic Sonata admin class
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
Requires (Dev)
- symfony/framework-bundle: dev-master
This package is not auto-updated.
Last update: 2025-01-04 16:00:38 UTC
README
A automatic Sonata Admin generator
It provide you some command lines to generator admin class for your entities ...
Installation
Sonata admin generator requires PHP 5.3, and should be installed using composer. The general composer instructions can be found on the [composer website](http://getcomposer.org/doc/00-intro.md composer website).
After that, just declare the bundle as follows into you composer.json :
"require" : {
"huitiemesens/sonata-admin-generator-bundle" : "dev-master"
}
Then, run composer.phar update
and you should be good.
Finally add the following code to your AppKernel.php
new huitiemesens\sonataAdminGeneratorBundle\huitiemesensSonataAdminGeneratorBundle(),
Usage
Will generate every entities inside a defined bundle
app/console admin:generate AppBundle
Then a prompt will ask to confirm each of entities found to be generated.