robclancy/presenter
RobClancy Presenter is a Laravel package for decorating models and other objects with presentation logic, keeping views clean and models focused. Define reusable presenter classes to format output, handle HTML, and separate display concerns from domain code.
ArrayAccess deprecations. That makes this release a forcing function: adopting it means the host application, CI runners, and container base images must already be on PHP 8.1+, which in practice means a Laravel 10-era baseline. Use it as the concrete dependency that justifies (or blocks) the PHP modernization work already on the roadmap.ArrayAccess consumers (config objects, option bags, collection-like wrappers). This informs whether the upgrade lands in a maintenance sprint or gets its own ticket with a regression-test gate.Adopt — or adopt 3.0.0 specifically — when:
ArrayAccess (or similar) surface in your own code and have been seeing deprecation output in CI — 3.0.0 removes that noise and restores signal on real warnings.Look elsewhere, or defer deliberately:
For executives: This is a maintenance release with no new features and no direct revenue impact. Its value is risk reduction: it keeps a dependency on the vendor's supported branch and aligns our stack with the PHP 8.1 baseline we already need to reach. The cost is a bounded engineering upgrade and a decision about which customers we stop supporting on older PHP versions. Recommendation: schedule the upgrade in the next maintenance window; do not attach it to a product launch.
For engineering: Major version bump, and the two visible changes are a raised minimum (PHP 8.1) and fixes for ArrayAccess deprecations under PHP 8.1. Treat it as breaking by default — audit our own implementations and consumers of the package's array-access surface, run the full suite on 8.1 CI, and confirm no behavioral drift in offset handling (offsetGet/offsetSet/offsetExists/offsetUnset semantics and return types). Low expected effort, but it should land behind a green CI run on the target platform, not as a drive-by bump.
One-line summary: adopt if you're already on PHP 8.1 — it's cheap hygiene; defer if you're not — the floor is the whole story.
How can I help you explore Laravel packages today?