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.
Architecture fit: This package is framework-agnostic but intentionally not recommended for Laravel projects (per documentation). It excels in non-Laravel PHP contexts (e.g., Slim, Symfony, or vanilla PHP) where Fractal is used for API transformations, significantly reducing boilerplate while maintaining full Fractal compatibility. For Laravel projects, laravel-fractal is the preferred solution due to deeper framework integration.
Integration feasibility: High. Composer installation is trivial, and the
How can I help you explore Laravel packages today?