This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Resource component for Sylius.

Installs: 27

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 134


v0.2.0 2013-05-15 20:43 UTC

This package is not auto-updated.

Last update: 2021-09-13 12:28:13 UTC


Easy CRUD and persistence for Symfony2 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 admin generator. It won't create forms, filters and grids for you. It only provides format agnostic controllers as foundation to build on, with some basic sorting and filter mechanisms.


Sylius - Modern ecommerce for Symfony2.


phpspec2 Specifications

$ wget
$ php composer.phar install --dev
$ bin/phpspec run -fpretty


Documentation is available on


All informations about contributing to Sylius can be found on this page.

Mailing lists


Questions? Feel free to ask on users mailing list.


To contribute and develop this bundle, use the developers mailing list.

Sylius twitter account

If you want to keep up with updates, follow the official Sylius account on twitter.

Bug tracking

This bundle uses GitHub issues. If you have found bug, please create an issue.


Releases will be numbered with the format major.minor.patch.

And constructed with the following guidelines.

  • Breaking backwards compatibility bumps the major.
  • New additions without breaking backwards compatibility bumps the minor.
  • Bug fixes and misc changes bump the patch.

For more information on SemVer, please visit website.
This versioning method is same for all Sylius bundles and applications.

MIT License

License can be found here.


The bundle was originally created by Paweł Jędrzejewski. See the list of contributors.