CRUD generator with filter and pagination for Symfony
This project is maintained by itscaro
This Symfony2 bundle extends SensioGeneratorBundle, it creates a nice CRUD with pagination, filter, translation and Twitter bootstrap 3 features.
This bundle is based on the one made by Jordi Llonch CrudGeneratorBundle
Well, because CRUD generator creates simple code, no magic, no configuration files, just simple and plain code that you can extend and modify easily.
Add following lines to your composer.json
file:
"require": {
"itscaro/crud-generator-bundle": "dev-master"
},
Execute:
php composer.phar update
Add it to the AppKernel.php
class:
new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(),
new Itscaro\CrudGeneratorBundle\ItscaroCrudGeneratorBundle(),
Add it to your app/config/config.yml
framework:
translator: { fallback: en }
twig:
form:
resources:
- LexikFormFilterBundle:Form:form_div_layout.html.twig
This bundle works on Symfony >= 2.5 version.
This bundle extends SensioGeneratorBundle and add
Use following command from console:
app/console itscaro:generate:crud
or to generate for all entities in a bundle
app/console itscaro:generate:all BUNDLE_NAME
Put your translations in :
You can put your own templates in :
Jordi Llonch
CrudGeneratorBundle is licensed under the MIT License. See the LICENSE file for full details.