Astrotomic/laravel-translatable
A Laravel package for multilingual models observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 97
- Release rhythm 74
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 140
- age_days: 2634
- days_rel: 19
- days_push: 19
- n_releases_24m: 4
Adoption not part of the score
1422 stars · 174 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 multilingual support to Eloquent models by storing translations in a separate database table. It transparently fetches and saves translated attributes alongside the model, with fallback locale support and validation rule helpers.
Use cases
- store translations of eloquent models in the database
- build a multilingual laravel application with translated model attributes
- retrieve a model's title in the current or a specific locale
- sort and query models by their translated fields
- migrate existing single-language columns to a translation table
- validate translated form fields with locale-aware rules
When to choose
- you use Laravel/Eloquent and need database-backed translations for model attributes
- you want translations saved and fetched automatically with the parent model
- you need fallback locales, locale helpers, and translation-aware validation out of the box
When to avoid
- you only need to translate static UI strings (use Laravel's built-in localization files)
- you are not using Laravel or Eloquent
- you need full-page or full-entity content translation via external services
Facets
library · maturity active
orm internationalization database web-development databases php eloquent multilingual-models translations laravel-package fallback-locale localization laravel
5 sources
- readme: https://github.com/Astrotomic/laravel-translatable · fetched 2026-08-28 · e37a4cfbd646
- homepage: https://docs.astrotomic.info/laravel-translatable/ · fetched 2026-08-29 · 2c9d54a9faaa
- site_page: https://docs.astrotomic.info/laravel-translatable/changelog · fetched 2026-08-29 · 9af5d096cdd2
- site_page: https://docs.astrotomic.info/laravel-translatable/faq · fetched 2026-08-29 · 22d8aac12a69
- site_page: https://docs.astrotomic.info/laravel-translatable/installation · fetched 2026-08-29 · 5b39c3b4d56a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Astrotomic/laravel-translatable | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="Astrotomic/laravel-translatable")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem