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

spatie/laravel-model-status

Some data may be outdated — see provenance labels.

Easily add statuses to your models observed · 2026-09-29

github.com/spatie/laravel-model-status · homepage · PHP · MIT (permissive) observed · 2026-09-29

Health v2 · maintenance only

66/100

  • Activity 77
  • Release rhythm 32
  • Longevity 100
How is this computed?

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

  • gap_med: 182.0
  • age_days: 3184
  • days_rel: 241
  • days_push: 140
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1059 stars · 84 forks observed · 2026-09-29

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

A Laravel package that adds status tracking to Eloquent models via a HasStatuses trait. It stores status changes in a dedicated table, keeping a full history with reasons for each change.

Use cases

  • track status history of eloquent models
  • add statuses with reasons to laravel models
  • query models by their current status
  • store why a status changed in laravel
  • manage order or workflow states in laravel app

When to choose

  • you need a full history of status changes, not just a single field
  • you want to attach reasons or metadata to each status change
  • you need to query models by their current status efficiently

When to avoid

  • a simple status column on the model is enough
  • you don't use Laravel or Eloquent
  • you need complex state machines with transitions and guards

Facets

library · maturity stable

orm state-management web-development backend developer-tools php laravel-package eloquent status-tracking spatie model-states laravel

3 sources

Member repositories

RepositoryRoleHealth v2
spatie/laravel-model-statusmain66

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem