league/fractal
League Fractal is a transformation/presentation layer for API output (JSON/YAML). Define consistent serializers and transformers, type-cast fields, include related resources, and handle pagination—keeping response schemas stable as your data changes.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-fractal | 0.87 | Laravel/Lumen wrapper for League Fractal to transform API data with a fluent, expressive syntax. Supports collections, includes, facades, and helper shortcuts to easily shape Eloquent results into consistent JSON-ready arrays. | 1,911 | 1,932 | 187 | 277K | 0 | 44.5 | 35.2 | MIT | 1 month ago | |
| spatie/fractalistic | 0.86 | Developer-friendly wrapper around League Fractal to transform API data with less boilerplate. Build resources, apply transformers, includes, and output arrays with a fluent API or one-liner syntax. Great for PHP projects; Laravel users may prefer laravel-fractal. | 385 | 387 | 34 | 275K | 0 | 31.3 | 46.4 | MIT | 1 month ago | |
| league/commonmark | 0.82 | Highly extensible PHP Markdown parser supporting full CommonMark and GitHub-Flavored Markdown. Convert Markdown to HTML with simple converters, customize rendering via extensions, and run safely with options like stripping HTML and blocking unsafe links. | 2,944 | 2,987 | 210 | 10M | 22 | 57.5 | 68.6 | BSD-3-Clause | 2 weeks ago | |
| yajra/laravel-datatables-fractal | 0.80 | Laravel DataTables plugin that transforms server-side JSON responses using League Fractal. Adds Fractal integration to yajra/laravel-datatables for cleaner, consistent API output. Supports PHP 8.2+ and Laravel 12.x. | 97 | 96 | 20 | 163K | 1 | 23.3 | 52.5 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?