NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1409 most downloaded on Packagist
An easy to use Fractal integration for Laravel applications
Latest stable
6.4.0
Last release 9 months ago
21 Feb 2026
Release timing varies
gaps range from 2 weeks to 1.2 years
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
72 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
## What's Changed - Add Laravel 13 support
Replace call to deprecated symfony method by @billypoke in https://github.com/spatie/laravel-fractal/pull/271
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.3.2...6.3.3
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-fractal/pull/263
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.3.1...6.3.2
feat: disable fieldsets by default by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/262
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.3.0...6.3.1
Allow auto parsing the fieldsets by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/261
fieldsets by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/261Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.2.2...6.3.0
Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-fractal/pull/257
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.2.1...6.2.2
fix: wrong return annotation by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/258
return annotation by @Mohammad-Alavi in https://github.com/spatie/laravel-fractal/pull/258Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.2.0...6.2.1
Auto excludes by @simondotwhite in https://github.com/spatie/laravel-fractal/pull/253
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.1.0...6.2.0
Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-fractal/pull/247
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.0.3...6.1.0
Add Dependabot Automation by @patinthehat in https://github.com/spatie/laravel-fractal/pull/237
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.0.2...6.0.3
Make stubs compatible with the latest league/fractal version by @osbre in https://github.com/spatie/laravel-fractal/pull/226
league/fractal version by @osbre in https://github.com/spatie/laravel-fractal/pull/226Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.0.1...6.0.2
Updated compose.json to handle with previous version by @deniscsz in https://github.com/spatie/laravel-fractal/pull/221
Full Changelog: https://github.com/spatie/laravel-fractal/compare/6.0.0...6.0.1
Fix style by @ahmadmayahi in https://github.com/spatie/laravel-fractal/pull/211
Full Changelog: https://github.com/spatie/laravel-fractal/compare/5.8.1...6.0.0
- add support for PHP 8
- add support for Laravel 8
- add support for Laravel 7
- update transformer stub
- make compatible with Laravel 6
add Spatie\Fractal\Facades\Fractal
Spatie\Fractal\Facades\Fractal- drop support for PHP 7.1
- drop support for PHP 7.0 - add support for Laravel 5.8
- improve singleton definition
- support Lumen
- add support for Laravel 5.7
- make fractal macroable
- fixed #153
- add support for L5.6
add transformWith collection macro
transformWith collection macroadd compatibility with Lumen 5.5
allow json encoding options to be passed to the respond method
respond method- Fix wrongly tagged commit
Laravel 5.5 support, dropped support for all older versions
laravel-fractal to fractaladd default_paginator to config file
add default_paginator to config file
add fractal_class to config file
fractal_class to config fileAdd baseUrl support for the JsonApi serializer
Nothing changed! Something went wrong with tagging the last version so we had to bump the version a bit?
fixes bug where a passed serializer wouldn't be used
fixes bug where a passed serializer wouldn't be used
add compatiblity with fractal 0.16 through fractalistic 2.0
- Add compatiblity with Lumen
fix resolving Fractal::class out of the container
Fractal::class out of the containeradd support for passing paginators to the data argument of fractal()
data argument of fractal()bind laravel-fractal as a singleton
bind laravel-fractal as a singleton
- Add support for Laravel 5.4
improve descriptions of generator command
allow closures to be used as serializers
allow closures to be used as serializers
fixed missing namespace import in Fractal
fixed missing namespace import in Fractal
the facade will now use the configured serializer
fix wrong implementation of the respond method
fix wrong implementation of the respond method
respond method.If you encounter errors when upgrading from 3.1.0 to this version, replace all usages of Spatie\Fractal\Response by Illuminate\Http\JsonResponse. All calls to the headers method on that class should be replaced by withHeaders.
- Add respond method
respond methodfix dependencies in composer.json
composer.jsonmake use of the spatie/fractalistic instead of league/fractal
spatie/fractalistic instead of league/fractaladd make:transformer artisan command
make:transformer artisan commandmade compatible with fractal 0.14
0.14fractal-helper function.- Added L5.3 compatibility
- Added support for cursors
The Fractal-class now implements the JsonSerializable-interface
Fractal-class now implements the JsonSerializable-interfaceFixed a bug when passing a null value to parseIncludes
Fixed bug when adding multiple includes in one go
Fix for adding multiple includes in one go.
** this version contains a bug when adding multiple includes in one go, please upgrade to v1.7.3 **
One column per quarter.