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

AbandonedArchivedLibrary[Admin Panels](/categories/admin)

saxulum/saxulum-crud
====================

Saxulum CRUD

1.6.3(10y ago)1638[2 issues](https://github.com/saxulum-legacy/saxulum-crud/issues)MITPHPPHP &gt;=5.4,&lt;8.0

Since Jan 24Pushed 8y agoCompare

[ Source](https://github.com/saxulum-legacy/saxulum-crud)[ Packagist](https://packagist.org/packages/saxulum/saxulum-crud)[ RSS](/packages/saxulum-saxulum-crud/feed)WikiDiscussions v1 Synced yesterday

READMEChangelog (3)Dependencies (8)Versions (51)Used By (0)

saxulum-crud
============

[](#saxulum-crud)

[![Build Status](https://camo.githubusercontent.com/9d652e881f4b8b83b242d6216c367f623f446ba5719cf1d6eb35a768a21e3ac3/68747470733a2f2f6170692e7472617669732d63692e6f72672f736178756c756d2f736178756c756d2d637275642e706e673f6272616e63683d7631)](https://travis-ci.org/saxulum/saxulum-crud)[![Total Downloads](https://camo.githubusercontent.com/902f7520ea2091bc3ff23520c2f6468d429ba881da4616d4e35d916e1d9ee42e/68747470733a2f2f706f7365722e707567782e6f72672f736178756c756d2f736178756c756d2d637275642f646f776e6c6f6164732e706e67)](https://packagist.org/packages/saxulum/saxulum-crud)[![Latest Stable Version](https://camo.githubusercontent.com/f1905367e88a6b841a59b0ed232ab52aee18293998cfc3efbaf0ce8a7c239b4d/68747470733a2f2f706f7365722e707567782e6f72672f736178756c756d2f736178756c756d2d637275642f762f737461626c652e706e67)](https://packagist.org/packages/saxulum/saxulum-crud)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a47fa821e6757097c088b9909f96f8aff69a80a36168ae90bafa9fa8b2fbac37/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736178756c756d2f736178756c756d2d637275642f6261646765732f7175616c6974792d73636f72652e706e673f623d7631)](https://scrutinizer-ci.com/g/saxulum/saxulum-crud/?branch=v1)

Features
--------

[](#features)

- [list action](doc/ListAction.md)
- [create action](doc/CreateAction.md)
- [edit action](doc/EditAction.md)
- [view action](doc/ViewAction.md)
- [delete action](doc/DeleteAction.md)

Requirements
------------

[](#requirements)

- php: &gt;=5.4,
- doctrine/common: ~2.4,
- knplabs/knp-components: ~1.3,&gt;=1.3.1,
- symfony/form: ~2.8|~3.0,
- symfony/http-kernel: ~2.8|~3.0,
- symfony/routing: ~2.8|~3.0,
- symfony/security: ~2.8|~3.0
- twig/twig: ~1.2

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

[](#installation)

Through [Composer](http://getcomposer.org) as [saxulum/saxulum-crud](https://packagist.org/packages/saxulum/saxulum-crud).

Usage
-----

[](#usage)

### Trait

[](#trait)

Use the following trait within your controller: [Saxulum\\Crud\\Controller\\CrudTrait](src/Controller/CrudTrait.php).

#### Base configuration

[](#base-configuration)

- `crudName`: contains the lowercase name of the object, example: `sample`
- `crudObjectClass`: contains the class name of the object, example: `Saxulum\Crud\Entity\Sample`

#### Advanced configuration

[](#advanced-configuration)

- `crudRoutePattern`: contains a template pattern like: `%s_%s`
- `crudRolePattern`: contains a template pattern like: `role_%s_%s`
- `crudTemplatePattern`: contains a template pattern like: `@SaxulumCrud/%s/%s.html.twig`

#### Services

[](#services)

- `crudAuthorizationChecker`: contains an instance of the symfony authorization checker
- `crudDoctrine`: contains an instance of the doctrine manager registry
- `crudPaginator`: contains an instance of a knp paginator
- `crudFormFactory`: contais an instance of a symfony form factory
- `crudUrlGenerator`: contains an instance of symfony routing url generator
- `crudSecurity`: deprecated by symfony 2.7, use `crudAuthorizationChecker`
- `crudTwig`: contains an instance of the twig environment

### Twig: form label generation

[](#twig-form-label-generation)

Use the following extension to use label generation: [Saxulum\\Crud\\Twig\\FormLabelExtension](src/Twig/FormLabelExtension.php).

Within the form template you can use something like this:

```
{% block form_label %}
    {% spaceless %}
        {% if label is empty %}
            {% set label = prepareFormLabel(form) %}
        {% endif %}
        {{ parent() }}
    {% endspaceless %}
{% endblock form_label %}

```

#### Example

[](#example)

The form name is `day_edit`, there is a collection field `comestiblesWithinDay`with a subfield called `comestible`. As you can see the `_` within the name will be replaced by a `.`.

```
day:
    edit:
        label:
            comestibles_within_day: Consumption
            comestibles_within_day_collection.comestible: Comestible

```

*Advanced names:* If you want the underscore within the form name, work with camel case. Which means `someFormName_edit` will be converted to `some_form_name.edit`.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% 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 ~24 days

Recently: every ~216 days

Total

50

Last Release

2996d ago

Major Versions

1.3.1 → 2.0-alpha92015-02-22

1.3.2 → 2.0-alpha102015-02-26

1.3.3 → 2.0-alpha112015-03-09

1.5.2 → 2.0-alpha132015-06-03

1.6.3 → 2.0-alpha182015-12-13

PHP version history (2 changes)1.0-beta1PHP &gt;=5.4

1.6.0PHP &gt;=5.4,&lt;8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/55048de83ca5e5d8c67164a19c78edcaad413b0c1a4ae10d92edf8d77bedd90f?d=identicon)[dominikzogg](/maintainers/dominikzogg)

---

Top Contributors

[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (112 commits)")

---

Tags

symfonycrudsilexsaxulum

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sylius/sylius

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

8.5k5.9M738](/packages/sylius-sylius)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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