Download the PHP package idci/admin-generator-bundle without Composer
On this page you can find all versions of the php package idci/admin-generator-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download idci/admin-generator-bundle
More information about idci/admin-generator-bundle
Files in idci/admin-generator-bundle
Package admin-generator-bundle
Short Description Symfony AdminGeneratorBundle
License GPL-3.0+
Informations about the package admin-generator-bundle
AdminGeneratorBundle
Add Symfony2 command to extends crud generator
Requirements:
This bundle extends Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator
And need php5-intl
.
The pagination is made with the pagerfanta bundle provide by white october
Installation
To install this bundle please follow the next steps:
First add the dependencies to your composer.json
file:
Then install the bundle with the command:
Enable the bundle in your application kernel:
As you can see, we use WhiteOctoberPagerFantaBundle to paginate list results.
So you have to define the max_per_page
parameter in your app/config/parameters.yml
Now, you have to install bootstrap. You can either:
- Download bootstrap at http://twitter.github.com/bootstrap/assets/bootstrap.zip
- Then extract it into your /web directory which is at the root of the project.
Or
Add bootstrap_source
to your app/config/parameters.yml
Then run the following command to automatically install bootstrap assets in your web directory:
Generate CRUD backoffice
A CRUD interface, already stylized with bootstrap, can be easily generated with this command.
Then you have to:
- Indicate for which entity you want to generate a CRUD (Ex: MyBundle:Entity)
- Indicate weather or not you want to generate "write actions" such as "new, update and delete"
- Determine the format to use (annotation, yml, php, xml)
- Determine the route prefix
Your CRUD entity is generated, as well as the layout.
Enjoy !
All versions of admin-generator-bundle with dependencies
symfony/framework-bundle Version 2.2.*
twig/twig Version *
doctrine/doctrine-bundle Version *
pagerfanta/pagerfanta Version dev-master
white-october/pagerfanta-bundle Version dev-master