PHPackages                             2lenet/crudit-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. 2lenet/crudit-bundle

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

2lenet/crudit-bundle
====================

The easy like Crud'it Bundle.

1.17.20(1mo ago)1714.8k↓33.3%6[2 PRs](https://github.com/2lenet/CruditBundle/pulls)6MITPHPPHP ^8.4CI failing

Since Jun 15Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/2lenet/CruditBundle)[ Packagist](https://packagist.org/packages/2lenet/crudit-bundle)[ Docs](https://github.com/2lenet/CruditBundle)[ RSS](/packages/2lenet-crudit-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (84)Versions (673)Used By (6)

CruditBundle
============

[](#cruditbundle)

[![](doc/img/crudit.png)](doc/img/crudit.png)[![Build Status](https://github.com/2lenet/CruditBundle/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/2lenet/CruditBundle/actions)[![Build Status](https://github.com/2lenet/CruditBundle/actions/workflows/validate.yml/badge.svg?branch=main)](https://github.com/2lenet/CruditBundle/actions)

Crudit bundle for 2le.

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

[](#installation)

Webpack Encore is required and you need to have a security on your application.

```
require 2lenet/crudit-bundle
npm install bootstrap@5 sass sass-loader @fortawesome/fontawesome-free easymde --save
```

Just add the following lines in your template/base.html.twig

```
{% extends '@LleCrudit/layout/sb_admin/layout.html.twig' %}

{% block stylesheets %}
    {{ encore_entry_link_tags('app') }}
{% endblock %}

{% block javascripts %}
    {{ parent() }}
    {{ encore_entry_script_tags('app') }}
{% endblock %}
```

Then, in your assets/js/app.js, you have to add this line :

```
import '../styles/app.scss';
```

And in your assets/styles/app.scss, add this :

```
@import '../../vendor/2lenet/crudit-bundle/assets/sb-admin/css/app.scss';
```

All new SCSS files must be imported before the import of Crudit SCSS.

Recipes
-------

[](#recipes)

- [Configurations](doc/config.md)
- [Setup Webpack Encore](doc/webpack_encore.md)
- [Create a CRUD](doc/crud.md)
- [Brick](doc/brick.md)
- [Menu](doc/menu.md)
- [Setup brand](doc/brand.md)
- [Filters](doc/filter.md)
- [Sublist](doc/sublist.md)
- [Use a FilterSet in your own Controller](doc/filterset_controller.md)
- [Form types](doc/form_types.md)
- [Add a map to a list or to a show](doc/map_config.md)
- [How to export data](doc/export.md)
- [Workflows](doc/workflow.md)
- [ProgressBarField](doc/progressbar_field.md)
- [Markdown](doc/markdown.md)
- [Color list](doc/color_list.md)
- [Twig extensions](doc/twig.md)
- [Test your application](doc/test_your_application.md)

Principle
---------

[](#principle)

A crud is composed by

- an independent controller
- a crud config class
- a datasource
- a filterset if needed

The layout and menu are independent from the crud. You can integrate easily your own controller in a Crudit Layout

Feature
-------

[](#feature)

### List view

[](#list-view)

[![](doc/img/list.png)](doc/img/list.png)The list view has the following features :

- Pagination
- Sorting
- Item Actions ( Show, Edit and Delete as standard )
- List Actions ( Add and Export csv and excel as standard )
- List grouping ( to save space in repeating values )
- Batch Action ( see [Batch actions](doc/batch_action.md) )
- Possibility to color the lines according to a class passed to the entity ( see [Coloring the rows in a list](doc/color_list.md) )
- Layout customisation is possible ( doc TODO / Block principle )

The list view need a Datasource but is not bounded to Doctrine or any ORM.

### Show view

[](#show-view)

[![](doc/img/show.png)](doc/img/show.png)The show view has the following feature :

- Show all fields
- Title can use the entity to title the object by its name
- Tabs (see [Tabs](doc/tabs.md))
- Sublists to show related data ( see [Sublist](doc/sublist.md) )
- Possibility to color the main card and the title of the show view ( the principle is the same as for the list view: [Coloring the rows in a list](doc/color_list.md) )
- Layout customisation is possible ( doc TODO / Block principle )

### Form view

[](#form-view)

[![](doc/img/edit.png)](doc/img/edit.png)The edit view is a classical Symfony Form. You write your own FormType

Crudit provides some help to be nicely integrated :

- Many FormType ( Datetime, Entity, etc ...)
- Entity Dropdown based on TomSelect with autocomplete
- DoctrineFormGuesser to automatically use Crudit FormType.
- Markdown editor based on EasyMDE
- Layout customisation is possible ( doc TODO / Block principle )

JS Format input helper
----------------------

[](#js-format-input-helper)

Some help to check the input validity ( upper, email, ip, etc... )

- [inputFormat](doc/input_format.md)

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

[](#dependencies)

Crudit wants to minimise dependencies on not really popular bundles or components in order to be able to maintain this bundle for many years and to follow the Symfony Stack development without dependency problems.

The layout is inspired by [SB Admin 2](https://startbootstrap.com/theme/sb-admin-2) but partially rewritten. Many of the features of SB Admin wasn't useful for this project.

The CSS framework used is [Bootstrap 5](https://getbootstrap.com/docs/5.1/getting-started/introduction/).

Excel export uses phpoffice/phpspreadsheet.

Doctrine is needed for the pre-version but the project is designed to work without it. Feel free to contact us if you want to use other dataprovider.

Development
===========

[](#development)

TO COMPLETE

- [Design principle](doc/design.md)

JS / CSS Developpement
----------------------

[](#js--css-developpement)

To update the JS or the CSS please run in the bundle

```
npm install
npm run build
```

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community29

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~7 days

Total

224

Last Release

54d ago

Major Versions

0.9.1 → 1.0.02022-02-01

PHP version history (4 changes)0.9PHP &gt;=7.2

1.0.0PHP ^7.4 || ^8.0

1.4.0PHP ^8.0

1.15.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/b715c92f6219caaeecb8f1a8d511ebfa17f05c2b868875dbefaaf95c0dd0df91?d=identicon)[sebheitzmann](/maintainers/sebheitzmann)

---

Top Contributors

[![valentin-helies](https://avatars.githubusercontent.com/u/89925635?v=4)](https://github.com/valentin-helies "valentin-helies (341 commits)")[![sebheitzmann](https://avatars.githubusercontent.com/u/2197902?v=4)](https://github.com/sebheitzmann "sebheitzmann (218 commits)")[![SpaghettiBolognaise](https://avatars.githubusercontent.com/u/31731763?v=4)](https://github.com/SpaghettiBolognaise "SpaghettiBolognaise (107 commits)")[![QuentinHAETTEL](https://avatars.githubusercontent.com/u/55276836?v=4)](https://github.com/QuentinHAETTEL "QuentinHAETTEL (105 commits)")[![iBast](https://avatars.githubusercontent.com/u/77158590?v=4)](https://github.com/iBast "iBast (58 commits)")[![TheoHab](https://avatars.githubusercontent.com/u/93769453?v=4)](https://github.com/TheoHab "TheoHab (35 commits)")[![punckle](https://avatars.githubusercontent.com/u/42344795?v=4)](https://github.com/punckle "punckle (25 commits)")[![emilieD68](https://avatars.githubusercontent.com/u/19471750?v=4)](https://github.com/emilieD68 "emilieD68 (24 commits)")[![Antoine68](https://avatars.githubusercontent.com/u/38207637?v=4)](https://github.com/Antoine68 "Antoine68 (14 commits)")[![jperat](https://avatars.githubusercontent.com/u/15955170?v=4)](https://github.com/jperat "jperat (11 commits)")[![gLucas3](https://avatars.githubusercontent.com/u/155962283?v=4)](https://github.com/gLucas3 "gLucas3 (5 commits)")[![hicham68](https://avatars.githubusercontent.com/u/71725850?v=4)](https://github.com/hicham68 "hicham68 (4 commits)")[![Artahs](https://avatars.githubusercontent.com/u/98036002?v=4)](https://github.com/Artahs "Artahs (2 commits)")[![Swytax](https://avatars.githubusercontent.com/u/140259067?v=4)](https://github.com/Swytax "Swytax (2 commits)")[![tacman](https://avatars.githubusercontent.com/u/619585?v=4)](https://github.com/tacman "tacman (1 commits)")

---

Tags

admin-panelcrud-generatorradsymfonysymfonygeneratorcrudbackendadmin

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/2lenet-crudit-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/2lenet-crudit-bundle/health.svg)](https://phpackages.com/packages/2lenet-crudit-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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