Releases: fourstacks/flexible-presenter
Support Laravel 11
This version adds support for Laravel 11 and drops support for Laravel 9 (please use v4.x if you need Laravel 9 support)
Support Laravel 10
This PR adds support for Laravel 10 and drops support for Laravel 8 (if you need to use this package on Laravel 8 then please use v3.x of this package)
Adds Laravel 9 support
This release updates the package to add Laravel 9 support. From this version onwards the package no longer support Laravel 6 and 7 and PHP versions lower than PHP 8.
Thanks to @pgtruesdell for the L9 PR!
Adds ability to chain 'with' method
Add appends method and remove lazy method
Add appends
method to allow for adding additional key value pairs to the outer wrapper of a paginated collection.
Removes lazy
method (turns out it wasn't that lazy). Those using PHP 7.4 can use a short closure instead.
Adds pagination support
The collection
method can now accept a paginator instance. Instances of both Paginator
and LengthAwarePaginator
are supported as well as custom paginators that extend AbstractPaginator
and implement Arrayable
.
Big thanks to @ycs77 for the PR for this feature