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

spatie/laravel-translatable

Making Eloquent models translatable observed · 2026-08-28

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

Health v2 · maintenance only

88/100

  • Activity 89
  • Release rhythm 80
  • 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: 5.5
  • age_days: 3800
  • days_rel: 132
  • days_push: 68
  • n_releases_24m: 13

Full methodology

Adoption not part of the score

2459 stars · 297 forks observed · 2026-08-28

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

A Spatie PHP package providing a HasTranslations trait that makes Laravel Eloquent model attributes translatable. Translations are stored as JSON in existing columns, requiring no extra database tables.

Use cases

  • make eloquent model attributes translatable
  • store multilingual content in laravel models
  • translate model fields per locale
  • add multi-language support to laravel app without extra tables
  • get and set translations on eloquent attributes
  • fallback locale handling for missing translations

When to choose

  • you use Laravel/Eloquent and need per-attribute translations stored in JSON columns
  • you want a lightweight trait-based solution with no extra translation tables
  • you need locale-aware attribute access with fallback locale support

When to avoid

  • you are not using Laravel or Eloquent
  • you need translation storage in separate tables or complex translation workflows
  • your database is older than MySQL 5.7 and cannot use JSON columns

Facets

library · maturity stable

internationalization orm web-development databases php eloquent laravel-package translations json-columns spatie multilingual localization laravel

10 sources

Member repositories

RepositoryRoleHealth v2
spatie/laravel-translatablemain88

For agents

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

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