PHPackages                             yepsua/generator-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. yepsua/generator-bundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

yepsua/generator-bundle
=======================

The RICH CRUD Generator for Symfony2

v1.5.0(11y ago)43731MITPHP

Since Aug 26Pushed 11y ago1 watchersCompare

[ Source](https://github.com/oyepez003/YepsuaGeneratorBundle)[ Packagist](https://packagist.org/packages/yepsua/generator-bundle)[ Docs](http://www.yepsua.com)[ RSS](/packages/yepsua-generator-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (12)Used By (1)

README
======

[](#readme)

YepsuaGeneratorBundle by @oyepez003
-----------------------------------

[](#yepsuageneratorbundle-by-oyepez003)

The RICH CRUD Generator for Symfony2.

The generate:doctrine:richcrud generates a basic controller for a given entity located in a given bundle. This controller allows to perform the five basic operations on a model.

```
Listing all records with pager and filters,
Showing one given record identified by its primary key,
Creating a new record,
Editing an existing record,
Deleting an existing record.

```

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:richcrud
```

To deactivate the interactive mode, use the --no-interaction option but don't forget to pass all needed options:

```
php app/console generate:doctrine:richcrud --entity=AcmeBlogBundle:Post --format=annotation --with-write --no-interaction
```

Installation
------------

[](#installation)

Download and make sure you have the composer.phar latest version running the command:

```
$ php composer.phar self-update
```

Add the next dependency in the composer.json file

```
"require": {
        ...
        "yepsua/generator-bundle": "dev-master"
        ...
    },
```

v1.0.0 for sf2.2.x or Old versions

v1.3.0 for sf2.3.x or Higher

Info: Use always the Last Stable Release of Symfony2.

### For install and up to date the bundle

[](#for-install-and-up-to-date-the-bundle)

```
$ php composer.phar update yepsua/generator-bundle
```

Configuration
=============

[](#configuration)

1) Add the required Bundles to your application kernel
------------------------------------------------------

[](#1-add-the-required-bundles-to-your-application-kernel)

```
