PHPackages                             ewll/crud-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ewll/crud-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

ewll/crud-bundle
================

Crud Bundle

2.0.1(5y ago)0422proprietaryPHPPHP ^7.3

Since Nov 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ewll/crud-bundle)[ Packagist](https://packagist.org/packages/ewll/crud-bundle)[ RSS](/packages/ewll-crud-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (4)Versions (26)Used By (0)

Ewll/CrudBundle
===============

[](#ewllcrudbundle)

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

[](#installation)

`composer require ewll/crud-bundle`

Add to packages configuration:
config/bundles.php

```
...
Ewll\CrudBundle\EwllCrudBundle::class => ['all' => true]`
...

```

config/routes.yaml

```
ewll_crud:
  resource: '@EwllCrudBundle/Resources/config/routing.yaml'
  prefix: '/crud'

```

Units
-----

[](#units)

### Ewll\\CrudBundle\\Unit\\UnitInterface

[](#ewllcrudbundleunitunitinterface)

#### public function setUserProvider(UserProviderInterface $userProvider): void

[](#public-function-setuserprovideruserproviderinterface-userprovider-void)

This function allows to inject mechanism of getting user inside unit.

#### public function getUnitName(): string

[](#public-function-getunitname-string)

The main name for URL. Must be unique of all other utits.

#### public function getEntityClass(): string

[](#public-function-getentityclass-string)

The main entity class.

#### public function getSourceClassName(): string

[](#public-function-getsourceclassname-string)

Class name of class implemented Ewll\\CrudBundle\\Source\\SourceInterface allows access to entity storage.

#### public function getAccessRuleClassName(): ?string

[](#public-function-getaccessruleclassname-string)

Class name of [ewll/user-bundle](https://github.com/ewll/user-bundle) AccessRule class implemented Ewll\\UserBundle\\AccessRule\\AccessRuleInterface.

#### public function getAccessConditions(string $action): array

[](#public-function-getaccessconditionsstring-action-array)

Must returns array of [Access Conditions](https://github.com/ewll/crud-bundle#access-conditions).

#### public function getCustomActions(): array

[](#public-function-getcustomactions-array)

Must returns array of [Custom Actions](https://github.com/ewll/crud-bundle#custom-actions) class names.

### Ewll\\CrudBundle\\Unit\\CreateMethodInterface

[](#ewllcrudbundleunitcreatemethodinterface)

Allows to create entities by request: POST /crud/{unitName}

#### public function getCreateFormConfig(): FormConfig

[](#public-function-getcreateformconfig-formconfig)

Set [Form Config](https://github.com/ewll/crud-bundle#form-config) for entity creation.

#### public function getMutationsOnCreate(object $entity): array

[](#public-function-getmutationsoncreateobject-entity-array)

Returns array of fields with new values. This method calls before storing.

#### public function onCreate(object $entity, array $formData): void

[](#public-function-oncreateobject-entity-array-formdata-void)

Some actions inside transaction within INSERT.

#### public function getCreateExtraData(object $entity): array

[](#public-function-getcreateextradataobject-entity-array)

Some data you need to see in Response after success creation.

### Ewll\\CrudBundle\\Unit\\UpdateeMethodInterface

[](#ewllcrudbundleunitupdateemethodinterface)

### Ewll\\CrudBundle\\Unit\\ReadMethodInterface

[](#ewllcrudbundleunitreadmethodinterface)

### Ewll\\CrudBundle\\Unit\\DeleteMethodInterface

[](#ewllcrudbundleunitdeletemethodinterface)

Access Conditions
-----------------

[](#access-conditions)

@TODO

Custom Actions
--------------

[](#custom-actions)

@TODO

Form Config
-----------

[](#form-config)

Ewll\\CrudBundle\\Form\\FormConfig
This is some wrapper for [Symfony Form Building](https://symfony.com/doc/current/forms.html#building-forms)

Read Transformers
-----------------

[](#read-transformers)

Use read transformers to transform data into views.

- You can use our common read transformers from `Ewll\CrudBundle\ReadViewCompiler\Transformer`.
- Or create your:
    In order to create transformer you need to create two classes in `App\Crud\Transformer`.

1. Implement `Ewll\CrudBundle\ReadViewCompiler\Transformer\ViewTransformerInitializerInterface`. Use abstract class `Ewll\CrudBundle\ReadViewCompiler\Transformer\ViewTransformerInitializerInterface`. This class is needed to define transformer parameters. You will put it into Unit methods `getReadListFields()` and `getReadOneFields()`.
2. Implement `Ewll\CrudBundle\ReadViewCompiler\Transformer\ViewTransformerInterface`. Make it as service with tag `crud_view_transformer`.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~52 days

Total

25

Last Release

2005d ago

Major Versions

1.16.1 → 2.02020-11-18

### Community

Maintainers

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

---

Top Contributors

[![qwertys318](https://avatars.githubusercontent.com/u/8297111?v=4)](https://github.com/qwertys318 "qwertys318 (31 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/ewll-crud-bundle/health.svg)](https://phpackages.com/packages/ewll-crud-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)[jbtronics/settings-bundle

A symfony bundle to easily create typesafe, user-configurable settings for symfony applications

9546.7k2](/packages/jbtronics-settings-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[artgris/filemanager-bundle

FileManager is a simple Multilingual File Manager Bundle for Symfony

182420.8k9](/packages/artgris-filemanager-bundle)

PHPackages © 2026

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