Developed with love by KnpLabs Hire us for your project!
512

AdmingeneratorGeneratorBundle

by symfony2admingenerator

Admingenerator for Symfony2, parse generator.yml files to build classes

Symfony2 Admin Generator


KnpBundles Badge
project status
build status
Latest Stable Version
Total Downloads

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.

Follow us on Twitter!

Don't miss any updates from Symfony2 Admin Generator! Join Twitter today and follow us!

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&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 (see next section)
  • ... and more!

This bundle in pictures

Preview of list

Preview of edit

Preview of dashboard

Important note

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

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

Installation

All the installation instructions are located in documentation.

Documentation

The documentation for this bundle is located in Resources/doc directory. Start by reading Table of contents.

Support

If you're haveing trouble or you found an error feel free to open a github ticket, but first please read submitting issues.

Sensio Connect

https://connect.sensiolabs.com/club/symfony2admingenerator

Copyright (c) 2011-2012 Cedric LOMBARDOT

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
admingenerator_generator:
use_doctrine_orm: false
use_doctrine_odm: false
use_propel: false
overwrite_if_exists: false
base_admin_template: AdmingeneratorGeneratorBundle::base_admin.html.twig
dashboard_welcome_path: ~
login_path: ~
logout_path: ~
exit_path: ~
twig:
use_form_resources: true
use_localized_date: false
date_format: Y-m-d
datetime_format: Y-m-d H:i:s
localized_date_format: medium
localized_datetime_format: medium
number_format:
decimal: 0
decimal_point: .
thousand_separator: ,
templates_dirs:

# Prototype
key: []
form_types:
doctrine_orm:
datetime: datetime
vardatetime: datetime
datetimetz: datetime
date: datetime
time: time
decimal: number
float: number
integer: integer
bigint: integer
smallint: integer
string: text
text: textarea
entity: entity
collection: collection
array: collection
boolean: checkbox
doctrine_odm:
datetime: datetime
timestamp: datetime
vardatetime: datetime
datetimetz: datetime
date: datetime
time: time
decimal: number
float: number
int: integer
integer: integer
int_id: integer
bigint: integer
smallint: integer
id: text
custom_id: text
string: text
text: textarea
document: document
collection: collection
hash: collection
boolean: checkbox
propel:
TIMESTAMP: datetime
BU_TIMESTAMP: datetime
DATE: date
BU_DATE: date
TIME: time
FLOAT: number
REAL: number
DOUBLE: number
DECIMAL: number
TINYINT: integer
SMALLINT: integer
INTEGER: integer
BIGINT: integer
NUMERIC: integer
CHAR: text
VARCHAR: text
LONGVARCHAR: textarea
BLOB: textarea
CLOB: textarea
CLOB_EMU: textarea
model: model
collection: collection
PHP_ARRAY: collection
ENUM: choice
BOOLEAN: checkbox
BOOLEAN_EMU: checkbox
filter_types:
doctrine_orm:
datetime: ~
vardatetime: ~
datetimetz: ~
date: ~
time: ~
decimal: ~
float: ~
integer: ~
bigint: ~
smallint: ~
string: ~
text: text
entity: ~
collection: entity
array: ~
boolean: choice
doctrine_odm:
datetime: ~
timestamp: ~
vardatetime: ~
datetimetz: ~
date: ~
time: ~
decimal: ~
float: ~
int: ~
integer: ~
int_id: ~
bigint: ~
smallint: ~
id: ~
custom_id: ~
string: ~
text: text
document: ~
collection: document
hash: text
boolean: choice
propel:
TIMESTAMP: ~
BU_TIMESTAMP: ~
DATE: ~
BU_DATE: ~
TIME: ~
FLOAT: ~
REAL: ~
DOUBLE: ~
DECIMAL: ~
TINYINT: ~
SMALLINT: ~
INTEGER: ~
BIGINT: ~
NUMERIC: ~
CHAR: ~
VARCHAR: ~
LONGVARCHAR: text
BLOB: text
CLOB: text
CLOB_EMU: text
model: ~
collection: model
PHP_ARRAY: choice
ENUM: ~
BOOLEAN: choice
BOOLEAN_EMU: choice
stylesheets:
path: ~
media: all
javascripts:
path: ~
route: ~
routeparams:

# Prototype
key: []
  • Merge pull request #766 from bobvandevijver/dirname
    By loostro, 3 months ago
  • Added realpath to dirname usages
    By bobvandevijver, 3 months ago
  • Merge pull request #763 from bobvandevijver/excel-update
    By loostro, 3 months ago
  • Updated Excel export
    By bobvandevijver, 3 months ago
  • Merge pull request #756 from loostro/master
    By loostro, 3 months ago
  • Minor fixes
    By loostro, 3 months ago
  • Merge pull request #752 from kufi/patch-8
    By loostro, 3 months ago
  • Fixed a problem when using safe labels in knp
    By kufi, 3 months ago
  • Add fa class to scopes
    By loostro, 3 months ago
  • Fix btn-reset style
    By loostro, 3 months ago
  • Fix btn style
    By loostro, 3 months ago
  • Update fa to v4
    By loostro, 3 months ago
  • Use fa icons
    By loostro, 3 months ago
  • CSS fixes
    By loostro, 3 months ago
  • Update menu doc
    By loostro, 3 months ago
  • CS fixes base_admin_navbar
    By loostro, 3 months ago
  • Fix markdown
    By loostro, 3 months ago
  • Remove bootstrap-responsive.css
    By loostro, 3 months ago
  • Add info about required ExcelBundle version
    By loostro, 3 months ago
  • Fix menu doc
    By loostro, 3 months ago
  • Merge pull request #748 from kufi/patch-7
    By loostro, 3 months ago
  • Fix for Bootstrap 3 navbar layout
    By kufi, 4 months ago
  • Merge branch 'v1.1'
    By sescandell, 4 months ago
  • Merge branch 'v1.0' into v1.1
    By sescandell, 4 months ago
  • Fix composer
    By sescandell, 4 months ago
  • Composer fix
    By sescandell, 4 months ago
  • Composer fix
    By sescandell, 4 months ago
  • Update composer version
    By sescandell, 4 months ago
  • FIX minor doc error
    By sescandell, 4 months ago
  • Merge pull request #739 from brainsonic/bootstrap3
    By sescandell, 4 months ago