PHPackages                             sylius/resource-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. [File &amp; Storage](/categories/file-storage)
4. /
5. sylius/resource-bundle

ActiveSymfony-bundle[File &amp; Storage](/categories/file-storage)

sylius/resource-bundle
======================

Resource component for Sylius.

v1.14.0(3mo ago)23410.2M↓11.1%168[60 issues](https://github.com/Sylius/SyliusResourceBundle/issues)[26 PRs](https://github.com/Sylius/SyliusResourceBundle/pulls)20MITPHPPHP ^8.2CI passing

Since Apr 24Pushed 1mo ago26 watchersCompare

[ Source](https://github.com/Sylius/SyliusResourceBundle)[ Packagist](https://packagist.org/packages/sylius/resource-bundle)[ Docs](https://sylius.com)[ GitHub Sponsors](https://github.com/sylius)[ RSS](/packages/sylius-resource-bundle/feed)WikiDiscussions 1.15 Synced 1mo ago

READMEChangelog (10)Dependencies (54)Versions (202)Used By (20)Security (4)

SyliusResourceBundle
====================

[](#syliusresourcebundle)

Easy CRUD and persistence for Symfony apps.

During our work on Sylius, we noticed a lot of duplicated code across all controllers. We started looking for good solution of the problem. We're not big fans of administration generators (they're cool, but not for our usecase!) - we wanted something simpler and more flexible.

Another idea was to not limit ourselves to one persistence backend. Initial implementation included custom manager classes, which was quite of overhead, so we decided to simply stick with Doctrine Common Persistence interfaces. If you are using Doctrine ORM or any of the ODM's, you're already familiar with those concepts. Resource bundle relies mainly on `ObjectManager` and `ObjectRepository` interfaces.

The last annoying problem this bundle is trying to solve, is having separate "backend" and "frontend" controllers, or any other duplication for displaying the same resource, with different presentation (view). We also wanted an easy way to filter some resources from list, sort them or display by id, slug or any other criteria - without having to defining another super simple action for that purpose.

If these are issues you're struggling with, this bundle may be helpful!

Please note that this bundle **is not an admin generator**. It won't create forms, filters and grids for you. It only provides format agnostic controllers as a foundation to build on, with some basic sorting and filter mechanisms.

### Supported branches

[](#supported-branches)

- `1.10` (`v1.10.*` versions) - bug fixes and improvements of existing features
- `1.11` (next version - `v1.11.0`) - new features and bigger changes

Beware! There is no `main` or `master` branch on the repository. You should always open a Pull Request to the branch named as the minor version on which your changes should be applied.

Sylius
------

[](#sylius)

 [    ![Sylius Logo.](https://camo.githubusercontent.com/ea9dddc934264aa7ec01cf3202c500f3d8b04448bce2571bdc74230efddda88f/68747470733a2f2f6d656469612e73796c6975732e636f6d2f73796c6975732d6c6f676f2d3830302e706e67)  ](https://sylius.com)

Sylius is an Open Source eCommerce solution built from decoupled components with powerful API and the highest quality code. [Read more on sylius.com](http://sylius.com).

Development
-----------

[](#development)

#### Build:

[](#build)

```
docker compose up -d --build
```

#### Test:

[](#test)

```
make test
```

Documentation
-------------

[](#documentation)

[Sylius Stack documentation » Resource Bundle](https://stack.sylius.com/resource/index)

Contributing
------------

[](#contributing)

[This page](http://docs.sylius.com/en/latest/contributing/index.html) contains all the information about contributing to Sylius.

Follow Sylius' Development
--------------------------

[](#follow-sylius-development)

If you want to keep up with the updates and latest features, follow us on the following channels:

- [Official Blog](https://sylius.com/blog)
- [Sylius on Twitter](https://twitter.com/Sylius)
- [Sylius on Facebook](https://facebook.com/SyliusEcommerce)

Bug tracking
------------

[](#bug-tracking)

Sylius uses [GitHub issues](https://github.com/Sylius/SyliusResourceBundle/issues). If you have found bug, please create an issue.

MIT License
-----------

[](#mit-license)

License can be found [here](https://github.com/Sylius/SyliusResourceBundle/blob/1.10/LICENSE).

Authors
-------

[](#authors)

The bundle was originally created by [Paweł Jędrzejewski](http://pjedrzejewski.com). See the list of [contributors](https://github.com/Sylius/SyliusResourceBundle/graphs/contributors).

###  Health Score

77

—

ExcellentBetter than 100% of packages

Maintenance81

Actively maintained with recent releases

Popularity66

Solid adoption and visibility

Community53

Growing community involvement

Maturity95

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

Recently: every ~32 days

Total

194

Last Release

77d ago

Major Versions

v0.19.0 → v1.0.0-alpha.12016-10-17

PHP version history (11 changes)v0.1.0PHP &gt;=5.3.3

v0.14.0PHP &gt;=5.3.9

v0.16.0PHP ^5.5.9|^7.0

v0.19.0PHP ^5.6|^7.0

v1.0.0-rc.1PHP ^7.1

v1.3.0-BETAPHP ^7.2

v1.7.0-BETA.1PHP ^7.3

v1.8.0PHP ^7.4 || ^8.0

v1.9.0-ALPHA.1PHP ^8.0

v1.11.0-RC.1PHP ^8.1

v1.14.0-ALPHA.1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/719423?v=4)[Sylius eCommerce](/maintainers/sylius)[@Sylius](https://github.com/Sylius)

![](https://www.gravatar.com/avatar/4b4a5a1a9293502aa8573551fab020963a9050c5cca4524433b6d94214d3b480?d=identicon)[GSadee](/maintainers/GSadee)

---

Top Contributors

[![loic425](https://avatars.githubusercontent.com/u/8329789?v=4)](https://github.com/loic425 "loic425 (921 commits)")[![pamil](https://avatars.githubusercontent.com/u/1897953?v=4)](https://github.com/pamil "pamil (671 commits)")[![lchrusciel](https://avatars.githubusercontent.com/u/6213903?v=4)](https://github.com/lchrusciel "lchrusciel (241 commits)")[![GSadee](https://avatars.githubusercontent.com/u/6140884?v=4)](https://github.com/GSadee "GSadee (172 commits)")[![Zales0123](https://avatars.githubusercontent.com/u/6212718?v=4)](https://github.com/Zales0123 "Zales0123 (159 commits)")[![pjedrzejewski](https://avatars.githubusercontent.com/u/614970?v=4)](https://github.com/pjedrzejewski "pjedrzejewski (153 commits)")[![NoResponseMate](https://avatars.githubusercontent.com/u/9448101?v=4)](https://github.com/NoResponseMate "NoResponseMate (121 commits)")[![stloyd](https://avatars.githubusercontent.com/u/67402?v=4)](https://github.com/stloyd "stloyd (96 commits)")[![Rafikooo](https://avatars.githubusercontent.com/u/40125720?v=4)](https://github.com/Rafikooo "Rafikooo (45 commits)")[![arnolanglade](https://avatars.githubusercontent.com/u/3585922?v=4)](https://github.com/arnolanglade "arnolanglade (40 commits)")[![michalmarcinkowski](https://avatars.githubusercontent.com/u/7572437?v=4)](https://github.com/michalmarcinkowski "michalmarcinkowski (38 commits)")[![amenophis](https://avatars.githubusercontent.com/u/2158235?v=4)](https://github.com/amenophis "amenophis (34 commits)")[![bendavies](https://avatars.githubusercontent.com/u/625392?v=4)](https://github.com/bendavies "bendavies (33 commits)")[![dannyvw](https://avatars.githubusercontent.com/u/1218389?v=4)](https://github.com/dannyvw "dannyvw (29 commits)")[![Arminek](https://avatars.githubusercontent.com/u/6368946?v=4)](https://github.com/Arminek "Arminek (29 commits)")[![michalkaczmarek-bitbag](https://avatars.githubusercontent.com/u/235488362?v=4)](https://github.com/michalkaczmarek-bitbag "michalkaczmarek-bitbag (28 commits)")[![umpirsky](https://avatars.githubusercontent.com/u/208957?v=4)](https://github.com/umpirsky "umpirsky (24 commits)")[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (24 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (20 commits)")[![winzou](https://avatars.githubusercontent.com/u/702928?v=4)](https://github.com/winzou "winzou (17 commits)")

---

Tags

hacktoberfestresourcesyliuspersistencesyliusstorageresource

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

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

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

###  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)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-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)[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)

PHPackages © 2026

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