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

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

mwsimple/crud-generator
=======================

This bundle generates code cute for you

v2.3.10(9y ago)152.6k10[3 issues](https://github.com/MWSimple/CrudGeneratorBundle/issues)MITHTML

Since May 16Pushed 9y ago8 watchersCompare

[ Source](https://github.com/MWSimple/CrudGeneratorBundle)[ Packagist](https://packagist.org/packages/mwsimple/crud-generator)[ Docs](https://github.com/MWSimple/CrudGeneratorBundle)[ RSS](/packages/mwsimple-crud-generator/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (4)Versions (9)Used By (0)

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

[](#crudgeneratorbundle)

This bundle generates code cute you extending SensioGeneratorBundle using KnpPaginatorBundle and Boostrap Templates.

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

[](#installation)

### Using composer

[](#using-composer)

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

### Symfony 2.3.9 + Include Boostrap 3

[](#symfony-239--include-boostrap-3)

```
"require": {
    ...
    "mwsimple/crud-generator": "v2.3.9"
}
```

### Symfony &gt; 2.3.6 + Include Boostrap 2

[](#symfony--236--include-boostrap-2)

```
"require": {
	...
	"mwsimple/crud-generator": "dev-2.3-bootstrap2"
}
```

### Symfony 2.3.3

[](#symfony-233)

```
"require": {
	...
	"mwsimple/crud-generator": "v2.3.3"
}
```

### Symfony 2.3.1 - 2.3.2

[](#symfony-231---232)

```
"require": {
	...
	"mwsimple/crud-generator": "v2.3.2"
}
```

Execute:

```
php composer.phar update "mwsimple/crud-generator"

```

Add it to the `AppKernel.php` class:

```
	// ...
	new MWSimple\Bundle\CrudGeneratorBundle\MWSimpleCrudGeneratorBundle(),
	new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
	new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(),
```

### Configuration paginator example

[](#configuration-paginator-example)

You can configure `config.yml` default query parameter names and templates

```
    knp_paginator:
        page_range: 5                      # default page range used in pagination control
        default_options:
            page_name: page                # page query parameter name
            sort_field_name: sort          # sort field query parameter name
            sort_direction_name: direction # sort direction query parameter name
            distinct: true                 # ensure distinct results, useful when ORM queries are using GROUP BY statements
        template:
            pagination: KnpPaginatorBundle:Pagination:twitter_bootstrap_v3_pagination.html.twig # bootstrap 3 sliding pagination controls template
            sortable: KnpPaginatorBundle:Pagination:sortable_link.html.twig # sort link template
```

### Configuration filter example

[](#configuration-filter-example)

You can configure `config.yml` find Twig Configuration

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

### Configure translations (include en, es, ca)

[](#configure-translations-include-en-es-ca)

You can configure `config.yml`

```
    framework:
        ...
        translator:      { fallback: %locale% } # uncomment line
```

### Install assets

[](#install-assets)

```
app/console assets:install

```

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

[](#dependencies)

This bundle extends [SensioGeneratorBundle](https://github.com/sensio/SensioGeneratorBundle) and add a paginator using [KnpPaginatorBundle](https://github.com/KnpLabs/KnpPaginatorBundle) and filter using [LexikFormFilterBundle](https://github.com/lexik/LexikFormFilterBundle) .

Usage
-----

[](#usage)

Use following command from console:

```
app/console mwsimple:generate:crud

```

Author
------

[](#author)

Gonzalo Alonso -

Bootstrap 3
-----------

[](#bootstrap-3)

Tito Canteros -

.

###  Health Score

35

—

LowBetter than 81% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 81.5% 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 ~207 days

Recently: every ~290 days

Total

7

Last Release

3447d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ab7da460db4f61d98fb4c414cfbd87ca6134fe03dd4bcc764ac19a8164918f6?d=identicon)[gonzaloalonsod](/maintainers/gonzaloalonsod)

---

Top Contributors

[![gonzaloalonsod](https://avatars.githubusercontent.com/u/1031176?v=4)](https://github.com/gonzaloalonsod "gonzaloalonsod (66 commits)")[![TiiToo](https://avatars.githubusercontent.com/u/4389101?v=4)](https://github.com/TiiToo "TiiToo (7 commits)")[![aleste](https://avatars.githubusercontent.com/u/923421?v=4)](https://github.com/aleste "aleste (4 commits)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (3 commits)")[![fuser82](https://avatars.githubusercontent.com/u/1915795?v=4)](https://github.com/fuser82 "fuser82 (1 commits)")

---

Tags

generatorcrudbootstrap

### Embed Badge

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

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

###  Alternatives

[jordillonch/crud-generator

This bundle generates a nice CRUD

8451.5k](/packages/jordillonch-crud-generator)[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.

77290.6k1](/packages/crestapps-laravel-code-generator)[mwsimple/admin-crud

Admin Crud Bundle generator for Symfony applications

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

Laravel 8 CRUD generator for brackets/craftable

50190.4k](/packages/brackets-admin-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.7k](/packages/petkopara-crud-generator-bundle)[ascsoftw/tall-crud-generator

Laravel Package to generate CRUD Files using TALL Stack

887.0k](/packages/ascsoftw-tall-crud-generator)

PHPackages © 2026

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