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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-open-source-saver/fractal | 0.88 | Fractal is a maintained fork of thephpleague/fractal for transforming complex data into consistent API output. Provides a presentation layer with transformers, type casting, relationship includes, custom serializers, and pagination support for JSON/YAML APIs. | 4 | 4 | 2 | 36K | 0 | 12.5 | 58.5 | MIT | 5 months ago | |
| 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,910 | 1,931 | 185 | 303K | 0 | 38.0 | 34.1 | MIT | 3 months 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 | 308K | 0 | 25.1 | 44.7 | MIT | 3 months ago | |
| dmytrof/fractal-bundle | 0.84 | — | 0 | 0 | 1 | 12 | 0 | 1.5 | 15.4 | MIT | 5 years ago | |
| gergonzalez/lumen-fractal | 0.84 | Lumen service provider integrating League Fractal for clean API responses. Adds transformers/serializers support to format Eloquent data into consistent JSON structures, with simple configuration and container bindings for quick setup in Lumen microservices. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dmytrof/import-fractal-bundle | 0.82 | — | 0 | 0 | 0 | 6 | 0 | 0.6 | 11.7 | MIT | 5 years ago | |
| dmytrof/models-management-fractal-bundle | 0.81 | — | 0 | 0 | 0 | 6 | 0 | 0.9 | 11.7 | MIT | 5 years ago | |
| nilportugues/serializer-eloquent | 0.81 | Eloquent ORM driver for nilportugues/serializer. Serialize Laravel/Eloquent models and their relationships into the Serializer library’s normalized array format, handling common Eloquent edge cases so you can reuse one consistent serialization layer across your app. | 5 | 5 | 7 | 79 | 2 | 4.6 | 16.2 | MIT | 9 years ago | |
| alexmanno/serializer | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | Apache-2.0 | — | |
| apie/serializer | 0.80 | Apie Serializer converts domain objects to stored/customer-facing data and back. Similar to Symfony Serializer but uses ApieSerializerContext for recursive calls. Supports normalize/denormalize, encoding/decoding, and easy extension via custom Normalizer and Denormalizer interfaces. | 0 | 0 | 0 | 24 | 0 | 0.0 | 19.3 | MIT | — | |
| league/uri-interfaces | 0.65 | RFC 3986-compliant PHP interfaces for URI objects. Defines common contracts for working with URIs, including host/IDN and IPv4 handling (intl/IDN polyfill and GMP/BCMath or 64-bit PHP may be needed). Part of the League URI suite. | 537 | 538 | 10 | 11M | 0 | 25.1 | 62.5 | MIT | 3 months ago | |
| league/uri-components | 0.65 | Immutable value objects for URI components (host, path, query, etc.) from The PHP League. PHP 8.1+. Supports IDN hosts (intl or polyfill) and IPv4 conversion (GMP/BCMath/64-bit). Built atop league/uri, uri-interfaces, and PSR-7. | 319 | 324 | 5 | 3M | 0 | 25.9 | 61.8 | MIT | 3 months ago |
How can I help you explore Laravel packages today?