kaliop/content-decorator-bundle
A Symfony bundle from Kaliop that adds a decoration layer for content objects, letting you attach custom presentation methods and computed values without changing the underlying content model. Helps keep templates clean by moving view-specific logic into reusable decorators.
Content objects, this package is a candidate to replace that bespoke glue with a packaged layer that keeps a stable contracts surface (src/contracts) separate from implementation (src/lib).Consider adoption when all of the following hold:
bundle / contracts / lib split as an architectural guardrail and can absorb the cost of pinning to a specific platform line.Look elsewhere (or build internally) when:
For executives: This is a small, MIT-licensed PHP library that standardizes how our application models Ibexa content — typed models and repositories instead of hand-written mapping code. It is only relevant if we run Ibexa DXP; it does not work with Laravel or other stacks. Adoption risk is high: minimal community, two GitHub stars, no downstream dependents, and a single-maintainer release cadence. Recommendation: treat it as an internal-facing accelerator, not a platform foundation.
For engineering: The package offers a clean split between a stable contracts surface and implementation details, DI wiring via a Symfony bundle, and typed repositories over Ibexa content. Quality gates are documented (composer validate --strict, CS, PHPStan, Deptrac, tag-driven releases), which is a positive signal. But it is early-stage and narrowly version-pinned. Proposal: run a short timeboxed spike on one Ibexa-based feature, measure the reduction in mapping code, and if it pays off, vendor or fork the package so we control the upgrade path. Do not commit roadmap-critical work to it without that fallback.
How can I help you explore Laravel packages today?