2017 © Pedro Peláez
 

symfony-bundle crud-generator-bundle

This bundle generates a nice CRUD

image

itscaro/crud-generator-bundle

This bundle generates a nice CRUD

  • Thursday, October 20, 2016
  • by itscaro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 38 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

CrudGeneratorBundle

This Symfony2 bundle extends [SensioGeneratorBundle] (https://github.com/sensio/SensioGeneratorBundle), it creates a nice CRUD with pagination, filter, translation and Twitter bootstrap 3 features., (*1)

This bundle is based on the one made by Jordi Llonch [CrudGeneratorBundle] (https://github.com/jordillonch/CrudGeneratorBundle), (*2)

Build Status, (*3)

Screenshot

Screenshot, (*4)

Why use a CRUD generator?

Well, because CRUD generator creates simple code, no magic, no configuration files, just simple and plain code that you can extend and modify easily., (*5)

Installation

Add following lines to your composer.json file:, (*6)

"require": {
  "itscaro/crud-generator-bundle": "dev-master"
},

Execute:, (*7)

php composer.phar update

Add it to the AppKernel.php class:, (*8)

new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(),
new Itscaro\CrudGeneratorBundle\ItscaroCrudGeneratorBundle(),

Add it to your app/config/config.yml, (*9)

framework:
    translator: { fallback: en }

twig:
    form:
        resources:
            - LexikFormFilterBundle:Form:form_div_layout.html.twig

This bundle works on Symfony >= 2.5 version., (*10)

Dependencies

This bundle extends SensioGeneratorBundle and add, (*11)

Usage

Use following command from console:, (*12)

app/console itscaro:generate:crud

or to generate for all entities in a bundle, (*13)

app/console itscaro:generate:all BUNDLE_NAME

Translation

Put your translations in : * BUNDLE_DIR/Resources/translations/ItscaroCrudGeneratorBundle..yml * ROOT_DIR/app/Resources/translations/ItscaroCrudGeneratorBundle..yml, (*14)

Use your own skeleton

You can put your own templates in : * BUNDLE_DIR/Resources/ItscaroCrudGeneratorBundle/skeleton * ROOT_DIR/app/Resources/ItscaroCrudGeneratorBundle/skeleton, (*15)

Credits

Jordi Llonch, (*16)

License

CrudGeneratorBundle is licensed under the MIT License. See the LICENSE file for full details., (*17)

The Versions

20/10 2016