coderflexx/laravel-presenter
A Laravel package for decorating your models and data with presenters, keeping views clean by moving formatting logic into reusable presenter classes. Easily transform attributes for display without cluttering models or Blade templates.
make:presenter generator that wraps a model and exposes display-ready accessors. Adoption is a low-cost way to standardize where formatting logic lives (formatted dates, money, status labels/badge classes, name concatenation) instead of scattering it across Blade templates, API resources, and accessors. The realistic "build" alternative is 100–200 lines of in-house base class plus a generator — decide buy only if the team values the convention over owning the code.pestphp/pest-plugin-laravel removal is a dev-dependency cleanup and carries no production risk.^2.2 keeps a single shared convention and avoids divergent in-house forks.Adopt when all of the following hold:
Look elsewhere or skip when:
To executives: This is a small, low-risk developer-productivity dependency, not a platform bet. The new release is maintenance-only — it adds support for Laravel 12/13 and PHP 8.2–8.4 and fixes a console-command incompatibility under Laravel 13. The business value is consistency: one agreed place for display formatting, which reduces scattered template logic and speeds up UI changes. No user-facing behavior changes, no migration work, no cost.
To engineering: v2.2.0 is a compatibility and hygiene release: framework/runtime matrix widened to Laravel 10–13 and PHP 8.1–8.4, a PresenterMakeCommand::configure() return-type fix for Symfony/Console under Laravel 13, and removal of a dev-only Pest plugin that was blocking Laravel 13. No API changes, no deprecations, semver-minor — safe to bump. Take it now if you're planning a Laravel 12/13 upgrade, since it clears a blocker; otherwise fold it into routine dependency refresh. Note the package is intentionally thin (a presenter base class + make:presenter generator), so treat it as a convention we adopt, with a realistic fallback of vendoring the base class if upstream maintenance lags a future major Laravel release.
How can I help you explore Laravel packages today?