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
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| artesaos/warehouse | Warehouse V2 is a Laravel repository-pattern demo/package that centralizes queries and business rules while still returning Eloquent models and Collections. Use it as a ready-to-use repository layer without giving up Eloquent’s practicality. | 85 | 87 | 13 | 58 | 4 | 1.4 | 2.7 | MIT | 9 years ago | |
| artox-lab/clarc-bundle | — | 3 | 3 | 5 | 242 | 5 | 8.7 | 26.8 | MIT | 2 years ago | |
| bigz/halapi-bundle | — | 1 | 1 | 0 | 0 | 0 | 3.9 | — | — | 7 years ago | |
| dingo/api | — | 9,354 | 9,371 | 1,268 | 20K | 180 | 69.0 | 32.4 | BSD-3-Clause | 4 years ago | |
| dmytrof/fractal-bundle | — | 0 | 0 | 1 | 12 | 0 | 1.5 | 15.4 | MIT | 5 years ago | |
| gergonzalez/lumen-fractal | 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 | — | — | — | |
| knuckleswtf/scribe | Generate human-friendly API docs from your Laravel codebase. Scribe builds a beautiful single-page HTML doc with code samples and “Try It Out”, plus Postman collections and OpenAPI specs. It can infer params from validation, call endpoints for examples, and is highly customizable. | 2,318 | 2,321 | 356 | 690K | 94 | 72.0 | 67.9 | MIT | 1 week ago | |
| mpociot/laravel-apidoc-generator | Generate API docs automatically from your existing Laravel, Lumen, or Dingo routes. Run php artisan apidoc:generate to produce up-to-date documentation from code and routes, with configurable output via an apidoc.php config file. | 3,451 | 3,475 | 601 | 9K | 35 | 53.7 | 27.1 | MIT | 6 years ago | |
| spatie/fractalistic | 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 | 24.9 | 44.9 | MIT | 3 months ago | |
| spatie/laravel-fractal | 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 | |
| yajra/laravel-datatables-fractal | Fractal transformer plugin for yajra/laravel-datatables. Use League\Fractal to shape server-side DataTables JSON responses. Supports Laravel 12 / PHP 8.2+, with optional service provider and vendor:publish config/assets. | 97 | 97 | 20 | 170K | 1 | 18.3 | 50.8 | MIT | 3 months ago |
How can I help you explore Laravel packages today?