Reputation: 39
I'm new in Symfony and I was wondering if there is a way to generate basic CRUD elements for database, preferably with Bootstrap 3. Other frameworks (Laravel, CakePHP) set you off with a functional application.
Upvotes: 0
Views: 616
Reputation: 13340
The best bundle IMHO is EasyAdminBundle by Javier Eguiluz.
But you can also look at AdminGeneratorBundle and SonataAdminBundle
All of these bundles use Bootstrap.
Upvotes: 2
Reputation: 589
By default the command is run in the interactive mode and asks questions to determine the entity name, the route prefix or whether or not to generate write actions:
php app/console generate:doctrine:crud
To deactivate the interactive mode, use the --no-interaction option but don't forget to pass all needed options:
php app/console generate:doctrine:crud --entity=AcmeBlogBundle:Post --format=annotation --with-write --no-interaction
Upvotes: 1