Skip to content

Releases: fourstacks/flexible-presenter

Support Laravel 11

26 Apr 08:50
Compare
Choose a tag to compare

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

27 Feb 12:13
Compare
Choose a tag to compare

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

11 Feb 09:53
Compare
Choose a tag to compare

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

14 Oct 10:45
a0a6d44
Compare
Choose a tag to compare

You can now chain with method calls on the same presenter instance. Useful if you need to build up a presenter in stages.

Thanks to @ycs77 for the work on #29

Add appends method and remove lazy method

03 May 19:05
Compare
Choose a tag to compare

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

19 Apr 20:56
Compare
Choose a tag to compare

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