Ross ROSS = Recommend OSS · open-source software intelligence for agents

spatie/laravel-fractal

An easy to use Fractal wrapper built for Laravel and Lumen applications observed · 2026-08-28

github.com/spatie/laravel-fractal · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

81/100

  • Activity 89
  • Release rhythm 59
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 59
  • age_days: 3984
  • days_rel: 193
  • days_push: 68
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

1909 stars · 183 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Laravel and Lumen package providing a fluent wrapper around League Fractal for transforming data before serving it in APIs. It simplifies creating transformers, includes, and serialization of Eloquent collections into API responses.

Use cases

  • transform eloquent models into api responses
  • serialize collections with fractal transformers
  • build json api responses in laravel
  • include nested relationships in api output
  • wrap fractal with a simpler fluent syntax

When to choose

  • you build Laravel or Lumen APIs and want clean data transformation layers
  • you want an easier API than raw League Fractal
  • you need includes and serializers for Eloquent results

When to avoid

  • your project is not Laravel or Lumen
  • you prefer modern Laravel API Resources over Fractal
  • you only need simple JSON serialization without transformers

Facets

library · maturity stable

serialization api-framework middleware web-development backend apis php laravel lumen fractal data-transformers eloquent api-responses

1 source

Member repositories

RepositoryRoleHealth v2
spatie/laravel-fractalmain81

For agents

markdown · JSON · MCP: product_card(name="spatie/laravel-fractal")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem