PHPackages                             nitra/admingenerator-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. nitra/admingenerator-generator-bundle

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

nitra/admingenerator-generator-bundle
=====================================

Admingenerator for Symfony2 based on YAML configuration and Twig templating

1.0.0(12y ago)03352MITPHP

Since Jan 25Pushed 11y ago14 watchersCompare

[ Source](https://github.com/nitra/AdmingeneratorGeneratorBundle)[ Packagist](https://packagist.org/packages/nitra/admingenerator-generator-bundle)[ Docs](https://github.com/nitra/AdmingeneratorGeneratorBundle/)[ RSS](/packages/nitra-admingenerator-generator-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (15)Versions (3)Used By (0)

Symfony2 Admin Generator
========================

[](#symfony2-admin-generator)

---

[![KnpBundles Badge](https://camo.githubusercontent.com/a63ea27d40d6ce4494a2be238213daace9f50de89b3914db0c09ea85f664b8d4/687474703a2f2f6b6e7062756e646c65732e636f6d2f73796d666f6e793261646d696e67656e657261746f722f41646d696e67656e657261746f7247656e657261746f7242756e646c652f62616467652d73686f7274)](http://knpbundles.com/symfony2admingenerator/AdmingeneratorGeneratorBundle)[![project status](https://camo.githubusercontent.com/47ad9f25bb8f4ba808ea8ba2de4c7bb1a65f6c0de56dfe9fc55e144bf07e6789/687474703a2f2f7374696c6c6d61696e7461696e65642e636f6d2f6365647269636c6f6d626172646f742f41646d696e67656e657261746f7247656e657261746f7242756e646c652e706e67)](https://camo.githubusercontent.com/47ad9f25bb8f4ba808ea8ba2de4c7bb1a65f6c0de56dfe9fc55e144bf07e6789/687474703a2f2f7374696c6c6d61696e7461696e65642e636f6d2f6365647269636c6f6d626172646f742f41646d696e67656e657261746f7247656e657261746f7242756e646c652e706e67)[![build status](https://camo.githubusercontent.com/bf99e529992fe1a7514cc06c8019fe0625bdf23a288b6bd0199b97cf7c80ecfb/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f73796d666f6e793261646d696e67656e657261746f722f41646d696e67656e657261746f7247656e657261746f7242756e646c652e706e67)](http://travis-ci.org/symfony2admingenerator/AdmingeneratorGeneratorBundle)[![Latest Stable Version](https://camo.githubusercontent.com/d396112a0fd8eaba791cc73af4b2e8b296193dbb90c936eb6829a69ce0d64d64/68747470733a2f2f706f7365722e707567782e6f72672f6365647269636c6f6d626172646f742f61646d696e67656e657261746f722d67656e657261746f722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/cedriclombardot/admingenerator-generator-bundle)[![Total Downloads](https://camo.githubusercontent.com/f4c22f0360b3e9b87a5a1812acb59e9f0e0a6be08952ea2830de80e5147cfbd6/68747470733a2f2f706f7365722e707567782e6f72672f6365647269636c6f6d626172646f742f61646d696e67656e657261746f722d67656e657261746f722d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/cedriclombardot/admingenerator-generator-bundle)

### The Real Missing Admin Generator for Symfony2!

[](#the-real-missing-admin-generator-for-symfony2)

This package is a Symfony2 Admin Generator based on YAML configuration and Twig templating. It's inspired by [fzaninotto/Doctrine2ActiveRecord](https://github.com/fzaninotto/Doctrine2ActiveRecord).

### Follow us on Twitter!

[](#follow-us-on-twitter)

Don't miss any updates from **Symfony2 Admin Generator**! Join Twitter today and [follow us](https://twitter.com/sf2admgen)!

Features:
---------

[](#features)

- Generate Views and Controllers for Models with one command
- Configure all options in one (per model) YAML file
- Includes standard actions: create/edit, show, delete, list/nestedset tree list
- Flexible and extendable: you can *easily* add or overwrite almost everything!
- Supports most popular model managers: **Doctrine ORM**, **Doctrine ODM** and **Propel**
- Introduces nested forms: create/edit object and all it's associated objects in one form!
- Manage relations one to one, one to many, many to one and **many to many**
- Fully translatable: all field elements (labels, placeholders, helpers), all widgets, actions, error messages and titles
- **List features:** sortable, paginated, filters, batch actions, scopes
- **Nestedset tree list features:** drag&amp;drop to manage your tree
- **New/Edit featues:** fieldsets, tabbable, cool widgets for *collection, file upload, date and entity* fields
- Translated into DE, **EN (default)**, ES, FA, FR, GR, IT, JA, NL, PL, PT, RO, RU, SL, TR, UK (you can easily contribute to add your own)
- Credentials for actions, columns and form fields
- Complete admin design based on [twitter bootstrap](http://twitter.github.com/bootstrap/) *(see next section)*
- ... and more!

This bundle in pictures
-----------------------

[](#this-bundle-in-pictures)

[![Preview of list](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/raw/master/Resources/preview/list-preview.png)](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/raw/master/Resources/preview/list-preview.png)

[![Preview of edit](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/raw/master/Resources/preview/edit-preview.png)](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/raw/master/Resources/preview/edit-preview.png)

[![Preview of dashboard](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/raw/master/Resources/preview/dashboard-welcome-preview.png)](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/raw/master/Resources/preview/dashboard-welcome-preview.png)

Important note
==============

[](#important-note)

Documentation is currently being rewritten. Old documentation can be found in:

- [Resources/old-doc](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/tree/master/Resources/old-doc) directory
- [symfony2admingenerator.org](http://symfony2admingenerator.org) website
- some new features configuration can be found in github issues/PR comments

Sorry for inconvenience, we will fix that as soon as possible!

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

[](#installation)

All the installation instructions are located in [documentation](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#installation).

Documentation
-------------

[](#documentation)

The documentation for this bundle is located in `Resources/doc` directory. Start by reading [Table of contents](https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#table-of-contents).

### Translations

[](#translations)

If you wish to use default texts provided in this bundle, you have to make sure you have translator enabled in your config.

```
# app/config/config.yml

framework:
    translator: ~
```

For more information about translations, check [Symfony documentation](http://symfony.com/doc/current/book/translation.html).

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

[](#installation-1)

Installation is a 3 step process:

1. Download NitraThemeBundle using composer
2. Enable the Bundle
3. Configure the NitraThemeBundle

### Step 1: Download NitraThemeBundle using composer

[](#step-1-download-nitrathemebundle-using-composer)

Add NitraThemeBundle in your composer.json:

```
{
    "require": {
        "nitra/admingenerator-generator-bundle": "2.3.*@dev"
    }
}
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update nitra/admingenerator-generator-bundle
```

Composer will install the bundle to your project's `vendor/nitra` directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
