[READ-ONLY] Simpler CRUD for Symfony2 applications.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Command Random codebase fixes Jan 30, 2018
Controller Merge branch '1.1' into 1.2 Jul 10, 2018
DependencyInjection Merge branch '1.2' Jul 5, 2018
Doctrine Deprecate MongoDB / PHPCR related classes, services and parameters Jul 3, 2018
Event Remove all author blocks Oct 20, 2017
EventListener Deprecate MongoDB / PHPCR related classes, services and parameters Jul 3, 2018
ExpressionLanguage Add BC layer for ExpressionLanguage Apr 25, 2018
Form Lower PHPStan level 2 errors from 222 to 15 Jul 4, 2018
Grid Lower PHPStan level 2 errors from 222 to 15 Jul 4, 2018
Resources use native twig reference in twig templates too (extends / imports...) Oct 2, 2018
Routing Merge branch '1.1' into 1.2 Jul 5, 2018
Storage Remove all author blocks Oct 20, 2017
Tests Merge branch '1.1' into 1.2 Jul 4, 2018
Validator Random codebase fixes Jan 30, 2018
spec Use native Twig references for templates Oct 2, 2018
test Final fixes Aug 17, 2018
.gitignore Remove "incenteev/composer-parameter-handler" from packages dependencies Mar 15, 2018
AbstractResourceBundle.php Deprecate MongoDB and PHPCR Jul 3, 2018
LICENSE Move LICENSE files from "Resources/meta/" to the root package directory Jul 4, 2018
README.md Replace sylius.org with sylius.com & fix even more logos Feb 8, 2018
ResourceBundleInterface.php Remove all author blocks Oct 20, 2017
SyliusResourceBundle.php Merge branch '1.1' into 1.2 Jul 3, 2018
composer.json Update Composer's branch-alias for 1.4 Oct 3, 2018
phpspec.yml.dist Upgrade phpspec to 3.0 Jul 25, 2016
phpunit.xml.dist Make PHPUnit package tests great again Apr 30, 2018

README.md

SyliusResourceBundle Build status...

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 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.

Sylius

Sylius

Sylius is an Open Source eCommerce solution built from decoupled components with powerful API and the highest quality code. Read more on sylius.com.

Documentation

Documentation is available on docs.sylius.com.

Contributing

This page contains all the information about contributing to Sylius.

Follow Sylius' Development

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

Bug tracking

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

MIT License

License can be found here.

Authors

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