PHPackages                             jordillonch/crud-generator - 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. jordillonch/crud-generator

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

jordillonch/crud-generator
==========================

This bundle generates a nice CRUD

2.4.x-dev(11y ago)8351.5k35[5 issues](https://github.com/jordillonch/CrudGeneratorBundle/issues)MITHTMLCI failing

Since Jan 18Pushed 9y ago18 watchersCompare

[ Source](https://github.com/jordillonch/CrudGeneratorBundle)[ Packagist](https://packagist.org/packages/jordillonch/crud-generator)[ Docs](https://github.com/jordillonch/CrudGeneratorBundle)[ RSS](/packages/jordillonch-crud-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (6)Used By (0)

CrudGeneratorBundle
===================

[](#crudgeneratorbundle)

This Symfony2 bundle aims to be the bundle that you are looking for create a nice CRUD with pagination, filter, translation and Twitter bootstrap 2.2.2 features.

This bundle is inspired in an article wrote by Ricard Clau: [Extending SensioGeneratorBundle for our Admin Areas](http://www.ricardclau.com/2012/03/extending-sensiogeneratorbundle-for-our-admin-areas/)

[![Build Status](https://camo.githubusercontent.com/dd6ab0fc6770b922fdfb9f949d9e48293562e8aee3efbe61814f4a4ebefb932b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6a6f7264696c6c6f6e63682f4372756447656e657261746f7242756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/jordillonch/CrudGeneratorBundle)

Screenshot
----------

[](#screenshot)

[![Screenshot](https://camo.githubusercontent.com/b54cdf197fe28b351ec59d234d527c598ab94f7a354d4d6fa363c6f2778de8a0/68747470733a2f2f7261772e6769746875622e636f6d2f6a6f7264696c6c6f6e63682f4372756447656e657261746f7242756e646c652f6d61737465722f73637265656e73686f742e706e67 "Screenshot")](https://camo.githubusercontent.com/b54cdf197fe28b351ec59d234d527c598ab94f7a354d4d6fa363c6f2778de8a0/68747470733a2f2f7261772e6769746875622e636f6d2f6a6f7264696c6c6f6e63682f4372756447656e657261746f7242756e646c652f6d61737465722f73637265656e73686f742e706e67)

Why use a CRUD generator?
-------------------------

[](#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.

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

[](#installation)

### Using composer

[](#using-composer)

Add following lines to your `composer.json` file:

#### Symfony &gt;= 2.5

[](#symfony--25)

```
"require": {
  ...
  "jordillonch/crud-generator": "dev-master"
},

```

#### Symfony 2.4

[](#symfony-24)

```
"require": {
  ...
  "jordillonch/crud-generator": "2.4.*"
},

```

#### Symfony 2.3

[](#symfony-23)

```
"require": {
  ...
  "jordillonch/crud-generator": "2.3.*"
},

```

#### Symfony 2.2

[](#symfony-22)

```
"require": {
  ...
  "jordillonch/crud-generator": "2.2.*"
},
"minimum-stability": "dev",

```

#### Symfony 2.1

[](#symfony-21)

```
"require": {
  ...
  "jordillonch/crud-generator": "2.1.*"
},
"minimum-stability": "dev",

```

Execute:

```
php composer.phar update

```

Add it to the `AppKernel.php` class:

```
new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(),
new JordiLlonch\Bundle\CrudGeneratorBundle\JordiLlonchCrudGeneratorBundle(),

```

Add it to your `app/config/config.yml`

```
framework:
    translator: { fallback: en }

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

```

**This bundle works on Symfony 2.1, 2.2, 2.3, 2.4 and &gt;= 2.5 version.**

Dependencies
------------

[](#dependencies)

This bundle extends [SensioGeneratorBundle](https://github.com/sensio/SensioGeneratorBundle) and add a paginator using [PagerFanta](https://github.com/whiteoctober/Pagerfanta/) and filter support using [LexikFormFilterBundle](https://github.com/lexik/LexikFormFilterBundle).

Usage
-----

[](#usage)

Use following command from console:

```
app/console jordillonch:generate:crud

```

As you will see there is no config file. You will generate a CRUD code with all fields from your entity. But after code generation you are free to modify the code because there is no magic just a simple code that is very easy to understand.

You have to know that if you reuse the command to recreate same entity, first you must delete controller and form files from previous generation.

Author
------

[](#author)

Jordi Llonch - llonch.jordi at gmail dot com

### Translation support

[](#translation-support)

Gonzalo Alonso - gonkpo at gmail dot com

License
-------

[](#license)

CrudGeneratorBundle is licensed under the MIT License. See the LICENSE file for full details.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~167 days

Total

4

Last Release

4358d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b35088a631c9044fd825de62ac37394798506dc06b91ece08811b74bb29ce3c?d=identicon)[jordillonch](/maintainers/jordillonch)

---

Top Contributors

[![jordillonch](https://avatars.githubusercontent.com/u/601782?v=4)](https://github.com/jordillonch "jordillonch (36 commits)")[![gonzaloalonsod](https://avatars.githubusercontent.com/u/1031176?v=4)](https://github.com/gonzaloalonsod "gonzaloalonsod (7 commits)")[![ricardclau](https://avatars.githubusercontent.com/u/613725?v=4)](https://github.com/ricardclau "ricardclau (7 commits)")[![ternel](https://avatars.githubusercontent.com/u/359558?v=4)](https://github.com/ternel "ternel (5 commits)")[![l-vo](https://avatars.githubusercontent.com/u/15314293?v=4)](https://github.com/l-vo "l-vo (3 commits)")[![acidjames](https://avatars.githubusercontent.com/u/2505667?v=4)](https://github.com/acidjames "acidjames (2 commits)")[![luizsoliveira](https://avatars.githubusercontent.com/u/442087?v=4)](https://github.com/luizsoliveira "luizsoliveira (2 commits)")[![dyktek](https://avatars.githubusercontent.com/u/10923042?v=4)](https://github.com/dyktek "dyktek (1 commits)")[![codevalar](https://avatars.githubusercontent.com/u/2471351?v=4)](https://github.com/codevalar "codevalar (1 commits)")[![magi-cc](https://avatars.githubusercontent.com/u/205632824?v=4)](https://github.com/magi-cc "magi-cc (1 commits)")[![bieli](https://avatars.githubusercontent.com/u/183053?v=4)](https://github.com/bieli "bieli (1 commits)")[![sp-roger-clotet](https://avatars.githubusercontent.com/u/6850397?v=4)](https://github.com/sp-roger-clotet "sp-roger-clotet (1 commits)")[![cachorios](https://avatars.githubusercontent.com/u/1560852?v=4)](https://github.com/cachorios "cachorios (1 commits)")

---

Tags

generatorcrud

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jordillonch-crud-generator/health.svg)

```
[![Health](https://phpackages.com/badges/jordillonch-crud-generator/health.svg)](https://phpackages.com/packages/jordillonch-crud-generator)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[crestapps/laravel-code-generator

An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.

76591.7k1](/packages/crestapps-laravel-code-generator)[petkopara/crud-generator-bundle

Symfony3 bundle for CRUD generation with pagination, filtering, sorting, page size, bulk delete and bootstrap3 markup. This Generator supports Doctrine association mapping.

7257.9k](/packages/petkopara-crud-generator-bundle)[brackets/admin-generator

Laravel 8 CRUD generator for brackets/craftable

50190.9k](/packages/brackets-admin-generator)[mwsimple/crud-generator

This bundle generates code cute for you

152.6k](/packages/mwsimple-crud-generator)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1714.8k8](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
