sylius/resource-bundle
SyliusResourceBundle provides format-agnostic CRUD controllers and persistence utilities for Symfony apps, built on Doctrine's ObjectManager and ObjectRepository interfaces. It simplifies listing, filtering, sorting, and displaying resources without duplicating controllers.
What this package actually is
sylius/resource-bundle is a Symfony bundle, not a Laravel package. It provides format-agnostic CRUD controllers, resource metadata (via the AsResource PHP attribute), routing factories, and basic sorting/filtering/pagination on top of Doctrine's ObjectManager / ObjectRepository interfaces. It explicitly is not an admin generator — it does not generate forms, grids, or filters. It is the CRUD substrate that Sylius itself is built on.
Architecture fit
config/resource.php publishable config, no facade, no Eloquent integration.ObjectManager/ObjectRepository. Bridging requires standing up Doctrine alongside Eloquent in the same app — dual ORMs, duplicated migrations, and two unit-of-work lifecycles.Integration feasibility
Technical risk
| Risk | Severity | Notes |
|---|---|---|
| Framework mismatch (Symfony-only) | High | Blocking for Laravel-native adoption |
| Dual-ORM complexity | High | Doctrine + Eloquent split-brain on data ownership |
| Namespace churn across 1.11 | Medium | Many "Move some namespaces on…" PRs; minor-version BC breaks |
| Non-standard branch model | Medium | No main/master; PRs target minor-version branches |
| Bus-factor / community size | Medium | 234 stars, 0 dependents in our ecosystem, maintainer concentration |
| Scope expectation gap | Medium | Not an admin generator — forms/grids/filters are still our build |
| Doctrine-centric tuning | Low/Med | N+1 and filter allow-listing are our responsibility |
Key questions to answer before committing
1.10 bugfix branch acceptable if we need stability, given 1.11 introduced namespace relocations?Stack fit
^5.0 allowed), Pagerfanta (^4.0 allowed), Twig, Symfony Workflow for state machines.composer.json.Migration path (if a Symfony service is approved)
Compatibility
1.10.* if we need API stability; 1.11 carries namespace relocations that will break copied examples and any internal extensions.Sequencing
Maintenance
Support
stack.sylius.com/resource and is oriented to Symfony developers; expect to translate patterns ourselves.Scaling
Failure modes
Ramp-up
TPM recommendation
Default position: do not adopt for a Laravel stack. The framework mismatch, dual-ORM tax, and the fact that it is explicitly not an admin generator make the value proposition negative for us. Revisit only behind a funded decision to run a Symfony bounded-context service, and then treat sylius/resource-bundle as an internal implementation detail of that service — pinned, owned, and measured — rather than a package the Laravel application depends on.
How can I help you explore Laravel packages today?