PHPackages                             ekyna/resource - 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. ekyna/resource

ActiveComponent[Utility &amp; Helpers](/categories/utility)

ekyna/resource
==============

Resource management library

0.9.x-dev(1mo ago)11.3k3MITPHPPHP &gt;=8.1CI failing

Since Mar 22Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ekyna/Resource)[ Packagist](https://packagist.org/packages/ekyna/resource)[ Docs](https://github.com/ekyna/Resource)[ RSS](/packages/ekyna-resource/feed)WikiDiscussions 0.6 Synced 1mo ago

READMEChangelogDependencies (22)Versions (4)Used By (3)

Resource component
==================

[](#resource-component)

### Registry

[](#registry)

- resources configurations

### Behaviors

[](#behaviors)

- toggleable : enable/disable, default (eventually per group)
- timestampable
- searchable : elasticsearch (external behavior/out of this component)
- ...

### Auto mapping

[](#auto-mapping)

With persistence layer, based on behaviors.

### Actions (ADR pattern)

[](#actions-adr-pattern)

- create
- read
- update
- delete
- toggle
- move
- search
- ...

### Responder (ADR pattern)

[](#responder-adr-pattern)

- ResponderRegistry, stored as \[ =&gt; \] by a compiler pass
- Configured on route, operation or behavior level.

\### Auto Routing

- api
- admin

\### Service container builder

- class parameter
- repository
- manager
- event
- form
- table

### Event system

[](#event-system)

- each action may dispatch a pre/post event
- onPersist (ex during doctrine onFlush) + recompute helper

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance90

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

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

Total

4

Last Release

52d ago

PHP version history (4 changes)0.6.x-devPHP &gt;=5.4

0.7.x-devPHP &gt;=7.0

0.8.x-devPHP &gt;=7.4

0.9.x-devPHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3483641?v=4)[Etienne Dauvergne](/maintainers/ekyna)[@ekyna](https://github.com/ekyna)

---

Top Contributors

[![ekyna](https://avatars.githubusercontent.com/u/3483641?v=4)](https://github.com/ekyna "ekyna (33 commits)")

---

Tags

phpresource

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ekyna-resource/health.svg)

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

###  Alternatives

[sylius/sylius

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

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

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

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[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.4k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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