php-open-source-saver/fractal
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| spatie/laravel-fractal | 0.86 | 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 | 274K | 0 | 39.2 | 33.7 | MIT | 3 months ago | |
| league/fractal | 0.84 | 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. | 0 | 3,760 | — | 967K | — | 60.7 | 55.1 | — | — | |
| jerome/filterable | 0.67 | — | 195 | 195 | 10 | 2K | 1 | 23.1 | 17.2 | MIT | 2 months ago | |
| phrity/util-transformer | 0.65 | Lightweight PHP utility for transforming values between types. Provides transformers with canTransform()/transform(), plus resolvers to chain and recurse converters. Includes JSON/flatten decoders and converters for basic types, DateTime, enums, Stringable, Throwable and more. | 0 | 0 | 0 | 25K | 0 | 11.2 | 59.8 | MIT | 6 months ago | |
| yoast/phpunit-polyfills | 0.64 | Polyfills to write PHPUnit tests compatible across versions. Provides traits, test cases, and utilities that bridge API changes so one test suite can run on PHPUnit 7.5–9 and 11–12. Requires PHP 7.1+. | 185 | 185 | 13 | 2M | 4 | 13.1 | 56.9 | BSD-3-Clause | 10 months ago | |
| friendsofphp/php-cs-fixer | 0.63 | PHP CS Fixer automatically fixes PHP code to match coding standards. Use built-in rule sets (PER-CS, Symfony, PhpCsFixer) or custom config to unify style, modernize PHP/PHPUnit code, and apply safe or risky migrations. Supports PHP 7.4–8.5. | 13,531 | 13,609 | 1,633 | 5M | 41 | 88.5 | 73.5 | MIT | 1 day ago |
How can I help you explore Laravel packages today?