Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Fractal Laravel Package

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
gathercontent/laravel-fractal 0.88 A Laravel wrapper for the Fractal library that helps you transform Eloquent models, collections, and paginators into clean API responses with support for includes, serializers, and flexible resource transformations. 50 — 11 — 5 2.0 1.5 — —
View on GitHub
spatie/fractalistic 0.87 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. 383 385 32 429K 0 17.2 44.3 MIT 8 months ago
View on GitHub
cyvelnet/laravel5-fractal 0.87 Laravel 5 Fractal offers a simple Laravel-friendly wrapper around League Fractal for transforming Eloquent models and collections into clean API responses, with reusable transformers, includes, serializers, and pagination support. 79 — 21 — 1 1.5 — MIT 2 years ago
View on GitHub
dmytrof/import-fractal-bundle 0.86 — 0 0 0 13 0 0.6 15.8 MIT 5 years ago
View on GitHub
Context7
somnambulist/fractal-bundle 0.86 A Laravel bundle that integrates League Fractal, adding service providers, configuration and helpers so you can transform API responses with Fractal serializers, includes and pagination using familiar framework conventions. 3 3 1 2K 0 0.0 36.4 MIT —
View on GitHub
samj/fractal-bundle 0.86 Symfony bundle integrating League\Fractal for transforming API data with transformers, serializers, and includes. Fractal's manager, serializers, and transformers are wired through Symfony's DI container, so you can produce consistent, well-structured JSON responses for your REST API. 27 29 11 851 4 0.9 15.0 — 6 years ago
View on GitHub
open-southeners/laravel-apiable 0.86 — 13 13 1 289 2 29.5 21.6 MIT 1 week ago
View on GitHub
saritasa/transformers 0.86 Saritasa Transformers is a Laravel package for turning models and data structures into consistent arrays or JSON using reusable transformer classes. It keeps API output, nested relationships, and custom formatting organized and easy to maintain. 1 1 1 275 0 0.0 20.9 MIT 2 years ago
View on GitHub
gergonzalez/lumen-fractal 0.85 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 — — —
View on GitHub
Context7
spatie/laravel-fractal 0.85 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,903 1,924 183 411K 0 30.2 34.0 MIT 8 months ago
View on GitHub
league/uri-components 0.85 Immutable value objects for working with URI components in PHP, including scheme, host, path, query, and fragment handling with IDN and IPv4 support. 318 323 5 8M 0 31.0 64.8 MIT 1 week ago
View on GitHub
php-open-source-saver/fractal 0.85 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 79K 0 4.7 56.9 MIT 9 months ago
View on GitHub
yajra/laravel-datatables-fractal 0.85 Laravel DataTables plugin that transforms server-side responses using Fractal transformers. Requires PHP 8.2+ and Laravel 12.x. Install via Composer and register the optional service provider to get started. 97 97 19 308K 1 10.5 51.3 MIT 7 months ago
View on GitHub
league/object-mapper 0.85 A lightweight object-to-object mapper for PHP that converts one class into another using reflection and PHP attributes. Define property mappings, handle nested objects, arrays, and collections, and reduce boilerplate when transforming DTOs, entities, and API payloads. 36 36 4 1K 3 1.0 21.8 MIT —
View on GitHub
dmytrof/fractal-bundle 0.85 — 0 0 1 26 0 21.2 23.2 MIT 1 week ago
View on GitHub
api-platform/laravel 0.85 — 58 58 6 30K 0 0.5 37.3 MIT —
View on GitHub
Context7
spiral/serializer 0.85 A PHP serialization library from Spiral: serialize/deserialize objects and arrays with configurable mappings and type handling, designed to integrate with Spiral components and support common data formats and transformation workflows. 0 0 0 4K 0 0.0 49.4 MIT —
View on GitHub
flugger/laravel-responder 0.85 Laravel Responder builds clean, consistent API responses with Fractal transformers, automatic exception handling, and flexible serialization. Turn Eloquent models into well-structured JSON with minimal effort and full control. 887 891 91 18K 38 18.6 31.1 MIT —
View on GitHub
juampi92/api-resources 0.85 juampi92/api-resources extends Laravel's Eloquent API resources with query-string controls for sparse fieldsets, nested includes, and filtering, letting clients request exactly the data they need while you keep resource definitions clean, consistent, and reusable. 111 111 20 361 0 1.5 8.6 MIT 1 year ago
View on GitHub
league/json-reference 0.85 A PHP library for resolving JSON References, including JSON Pointers ($ref) in JSON documents and schemas. It dereferences local and remote references through a simple API, with support for custom retrievers and integration with JSON Schema tooling. 32 33 9 5K 5 0.9 22.1 MIT —
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums