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

spatie/laravel-model-status

Easily add statuses to your models observed · 2026-08-28

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

Health v2 · maintenance only

72/100

  • Activity 85
  • Release rhythm 39
  • 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: 182.0
  • age_days: 3136
  • days_rel: 193
  • days_push: 92
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1058 stars · 85 forks observed · 2026-08-28

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-statusmain72

For agents

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

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