NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #676 most downloaded on Packagist
Handle the output of complex data structures ready for API output.
Last release 10 months ago
08 Dec 2025
Release timing varies
gaps range from 5 weeks to 2.8 years
Most releases are documented
notes for 25 of 39 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
39 releases · first in 2013
Fix deprecated errors in tests by @KorvinSzanto in #575
Full Changelog: 0.20.1...0.20.2
Update supported versions in the readme by @jdreesen in #546
One column per quarter.
Full Changelog: 0.20...0.20.1
Support PHP 5.4 and 5.5 and 5.6 - #502 - thanks @KorvinSzanto
Allow sub relations with modifier #490 - thanks @onursimsek - docs
Allow PHPUnit 7+ where available - Thanks @ramsey
$paginator->getPaginate() in PhalconFrameworkPaginatorAdapter constructor - Thanks @nidenattributes when none are provided instead of an array in JsonApiSerializer - Thanks @BastianHofmannmeta key for relationships in JsonApiSerializer - Thanks @rawaludinself link to override defaults in JsonApiSerializer - Thanks @biggatorScopes to arrays by using array union instead of array_merge - Thanks @andrewtweberlinks when none are provided instead of an array in ArraySerializer pagination - Thanks @basavind$fractal->parseFieldsets() - Thanks @FluggerAdd ScopeFactoryInterface and ScopeFactory
Primitive resource type, allows to use primitivesEnhancements: #358 Allow the ability to define meta on each object in collection #362 Add DoctrinePaginatorAdapter to interface with Doctrine paginati
### Enhancements - Custom links in serializer - PhalconPHP Paginator - tested on 7.1
null() method for serializing null resource.
null() method for serializing null resource.JsonApiSerializerTransformerAbstract now returns a ResourceInterfacegetIncludeParams now always return ParamBag->setData(...) and ->setTransformer(...) methods to resources
->setData(...) and ->setTransformer(...) methods to resourcesinclude=comments:limit(5|1):newAdd the support for Laravel 5 paginator. [Issue #153]
getData() and getTransformer() from League\Fractal\Resource\Collection as they were already
defined in ResourceAbstract.Added League\Fractal\Pagination\PagerfantaPaginatorAdapter to support [Pagerfanta]
League\Fractal\Pagination\PagerfantaPaginatorAdapter to support PagerfantaLeague\Fractal\Pagination\ZendFrameworkPaginatorAdapter to support Zend Framework PaginatorAdded ParamBag to replace the array passed to includes. It implements array access so keep using it as you were, or play with the new methods.
ParamBag to replace the array passed to includes. It implements array access so keep using it as you were, or play with the new methods.PaginatorInterface::getPaginator() as it was used anymore. Issue #101Manager::createData() argument 1 now hints against ResourceInterface not ResourceAbstract.Using ArraySerializer without a resource key would lead to an empty string as a key in JSON. [Issue #78]
Implemented serializer methods for item and collection separately [Issue #71]
Default Includes no longer need to be in Available Includes. [Issue #58]
A null value for Manager::parseIncludes() could have weird results
null value for Manager::parseIncludes() could have weird resultsMake ResourceAbstract implement ResourceInterface
ResourceAbstract implement ResourceInterfaceAdded Serializers with ArraySerializer, DataArraySerializer (default) and a provisional JsonApiSerializer. See [Issue #47]
ResourceAbstract::setMeta('foo', mixed) to allow custom meta dataManager::setRequestedScopes() with Manager::parseIncludes('foo,bar') which can be an array or CSV string. It can also take "Smart Syntax" such as Manager::parseIncludes('bars:limit(5|1):order(-something)'), which can come from a URL query param: /foo?include=bars:limit(5|1):order(-something)League\Fractal\Cursor\Cursor and League\Fractal\Cursor\CursorInterface into League\Fractal\PaginationAdded Cursor, as a different approach to paginating large data sets
Nothing published for this version
Adds a PaginatorInterface, with a IlluminatePaginatorAdapter to let Fractal be framework agnostic
PaginatorInterface, with a IlluminatePaginatorAdapter to let Fractal be framework agnosticFixed PHP 5.3 support. Short array syntax will be the death of me
Added Collection::setPaginator().
Collection::setPaginator().PaginatedCollection, use Collection::setPaginator() instead.Allow $defaultEmbed to be enabled in a transformer, to always embed without requesting
$defaultEmbed to be enabled in a transformer, to always embed without requestingNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Allow sub relations with modifier #490 - thanks @onursimsek - docs
Your coding agent can read these notes before it upgrades. Set up the MCP server →