All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for PHP 8.3
- Support for PHP 8.0
- Fix passing an array of classes to
decorate
- Supports
laravel-auto-presenter/laravel-auto-presenter
7.x
- Fix passing an array of classes to
decorate
(backported from 3.0.1)
- Add
decorate
to mark a class as decoratable (mimicing theDecoratable
interface oflaravel-auto-presenter/laravel-auto-presenter
)
- Remove a presenter from the mapping with
remove
- Exclude
laravel-auto-presenter/laravel-auto-presenter
from automatic discovery in Laravel 5.5+
- Supports
laravel-auto-presenter/laravel-auto-presenter
6.x
- The
map
function now accepts an array of presenters, keyed by model
- Add a decorator for
laravel-auto-presenter/laravel-auto-presenter
that loads presenters from a service provider - Add a facade for defining or overriding presenters on the fly