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 | 33K | 0 | 11.1 | 57.4 | MIT | 6 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,909 | 1,930 | 183 | 294K | 0 | 35.4 | 33.0 | MIT | 5 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. | 384 | 387 | 33 | 299K | 0 | 22.8 | 44.0 | MIT | 5 months 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/fractal-bundle | 0.84 | — | 0 | 0 | 1 | 14 | 0 | 1.5 | 16.2 | MIT | 5 years ago | |
| dmytrof/import-fractal-bundle | 0.82 | — | 0 | 0 | 0 | 4 | 0 | 0.6 | 9.7 | MIT | 5 years ago | |
| league/commonmark | 0.82 | Extensible PHP Markdown parser supporting the full CommonMark spec and GitHub-Flavored Markdown. Works with PHP 7.4+ (mbstring) and provides simple converters to turn Markdown into HTML with configurable safety options. | 2,968 | 3,010 | 214 | 12M | 21 | 58.2 | 69.8 | BSD-3-Clause | 3 days ago | |
| dmytrof/models-management-fractal-bundle | 0.81 | — | 0 | 0 | 0 | 8 | 0 | 0.9 | 13.2 | 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 | 15 | 2 | 4.6 | 7.9 | 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 | 0 | 0 | 0.0 | — | MIT | — | |
| egeloen/serializer | 0.79 | — | 29 | 28 | 21 | 1K | 6 | 2.6 | 24.7 | MIT | — | |
| digitalrevolution/utils | 0.60 | — | 1 | 1 | 8 | 2K | 1 | 24.5 | 48.2 | MIT | 3 months ago | |
| phpcsstandards/phpcsextra | 0.59 | PHPCSExtra adds extra rules, sniffs, and tooling to enhance PHP_CodeSniffer code style checks. Designed to complement existing standards, it helps catch more issues, enforce consistency, and integrate smoothly into CI for cleaner PHP codebases. | 104 | 103 | 7 | 2M | 36 | 38.2 | 79.9 | LGPL-3.0 | 1 week ago | |
| phpcsstandards/phpcsutils | 0.59 | Utilities and helper classes for building and maintaining PHP_CodeSniffer (PHPCS) standards and sniffs. Provides common abstractions and compatibility helpers to simplify writing custom rulesets and speed up development of consistent coding standards. | 63 | 63 | 8 | 3M | 25 | 35.5 | 73.3 | LGPL-3.0 | 1 week ago | |
| prinsfrank/standards | 0.59 | Daily-updated PHP 8.1+ enum collection of international standards (ISO, IANA, SIX, Library of Congress, etc.). Easy Composer install, strong typing for codes like countries, currencies, languages, and more—kept current via automated upstream sync. | 484 | 485 | 17 | 61K | 0 | 32.4 | 34.1 | MIT | 1 week ago |
How can I help you explore Laravel packages today?