PHPackages                             addiks/symfony\_generics - 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. addiks/symfony\_generics

ActiveLibrary

addiks/symfony\_generics
========================

A collection of generic configurable PHP components

v0.21.1(3y ago)03.4k1[3 PRs](https://github.com/addiks/symfony_generics/pulls)MITPHPPHP &gt;=8.1

Since Nov 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/addiks/symfony_generics)[ Packagist](https://packagist.org/packages/addiks/symfony_generics)[ RSS](/packages/addiks-symfony-generics/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (14)Versions (44)Used By (0)

[![Scrutinizer Build Status](https://camo.githubusercontent.com/9aaa0b0af260b4c304d6f119f777d7518be5d2e35c67fd4a1d3e5e433a15089f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616464696b732f73796d666f6e795f67656e65726963732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/addiks/symfony_generics/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f34a0f9ec784d516f6b5afce6a9afe1e8df6d2e4481084dfbb00d444f45da20c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616464696b732f73796d666f6e795f67656e65726963732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/addiks/symfony_generics/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ad3dc5213b1cf77cfa104aab7b00d496ffdcacb4ee39690056e8dbb527eff818/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616464696b732f73796d666f6e795f67656e65726963732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/addiks/symfony_generics/?branch=master)

[![Total Downloads](https://camo.githubusercontent.com/ace5d85757cd538ad7c88a9469188a9e221275add5e0a325d8b11b41e1f83cbd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f616464696b732f73796d666f6e795f67656e65726963732e737667)](https://packagist.org/packages/addiks/symfony_generics)[![Licence](https://camo.githubusercontent.com/31fb0468e58490a95cf7d37cc00660ea1682ed0ce18cba414af983fe60150574/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616464696b732f73796d666f6e795f67656e65726963732e737667)](https://packagist.org/packages/addiks/symfony_generics)[![Version](https://camo.githubusercontent.com/454ce87d1f15622079d7954a9d725aadddb0fbfebb2dcb1c9e842fc3e05c86f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616464696b732f73796d666f6e795f67656e65726963732e737667)](https://packagist.org/packages/addiks/symfony_generics)[![PHP](https://camo.githubusercontent.com/afc6e1b21e5887e93ee1bc90ea088071b21a1b2fd29288ef4ecb01e78bfdea9e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f616464696b732f73796d666f6e795f67656e65726963732e737667)](https://packagist.org/packages/addiks/symfony_generics)

Symfony Generic Components
==========================

[](#symfony-generic-components)

This is a collection of configurable generic components to use for symfony. (Currently it mostly consists of generic controllers.) I believe that as a developer you should focus your work as much as possible to model and mold your domain of choice into software. Other technical necessities (such as controllers) should be reduced as much as possible.

The generic components in this library are built in a way that they can be re-used multiple times in different configurations to replace components in your software that you would otherwise would have to build from scratch. This not only saves you time, it also improves the quality of your software because all the components in this library are fully tested and thus by extension a bigger part of your application becomes tested.

Additionally, if you use generic components instead of writing everything by hand, your application becomes more uniform and machine-readable &amp; -interpretable. For example: If you use generic controllers it is easy to tell which controllers just render a template, you could write a [smoke-test](https://en.wikipedia.org/wiki/Smoke_testing_%28software%29) that just executes all template-render-controllers and checks if any errors happen. Because you know that these controllers just render a template and do nothing else, you know that you can execute them without side-effect. Without doing much, you would have already tested a big portion of your application. (I actually plan to include such a smoke-test in this library in the future.)

In short, these are the advantages of using this library:

- Less code to write and maintain
- More time for the things that make your software unique
- A bigger part of your application will be battle-tested
- More standardized parts that other developers will know how to work with

These components currently exist in the library:

TypeNameDescriptionController[API/GenericEntityCreateController](documentation/controllers/api/entity-create.md)API to create an entity.Controller[API/GenericEntityFetchController](documentation/controllers/api/entity-fetch.md)API to download an entity.Controller[API/GenericEntityInvokeController](documentation/controllers/api/entity-invoke.md)API to call a method on an entity.Controller[API/GenericEntityListingController](documentation/controllers/api/entity-listing.md)API to get a list of entities.Controller[API/GenericEntityRemoveController](documentation/controllers/api/entity-remove.md)API to remove an entity.Controller[API/GenericServiceInvokeController](documentation/controllers/api/service-invoke.md)API to call a method on a service.Controller[GenericTemplateRenderController](documentation/controllers/template-render.md)Renders a template with arguments.Controller[GenericExceptionResponseController](documentation/controllers/exception-response.md)Handle different exceptions.CommandEntityInvokeCommandInvoke Entity-Methods from CLI.CommandServiceInvokeCommandInvoke Service-Methods from CLI.ServiceArgumentCompilerMore versatile alternative to symfony expression-languageRouterRoutingLoaderDecoratorDecorates a router to allow service-tag-based routesVoterOwned (Interface)Entity-Access-Authorization: Entities can specify an owner userVoterOwnedFacade (Interface)Entity-Access-Authorization: Entities can specify if they are owned by a userVoterOwner (Interface)Entity-Access-Authorization: User can specify if he own an entityVoterOwnershipVoterVoter than can restrict acces based on interfaces above

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 99.2% 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 ~40 days

Recently: every ~136 days

Total

39

Last Release

1180d ago

PHP version history (3 changes)v0.1.0PHP &gt;=7.1

v0.18.0PHP &gt;=7.4

v0.21.0PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

[![addiks](https://avatars.githubusercontent.com/u/3450330?v=4)](https://github.com/addiks "addiks (132 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

configurablecontrollersgenericsymfony

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/addiks-symfony-generics/health.svg)

```
[![Health](https://phpackages.com/badges/addiks-symfony-generics/health.svg)](https://phpackages.com/packages/addiks-symfony-generics)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M647](/packages/sylius-sylius)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M309](/packages/easycorp-easyadmin-bundle)[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)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

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