laravel-lang/models
Adds localized names and attributes for Laravel Eloquent models via Laravel Lang. Plug-and-play translations for model labels across multiple languages to improve UI, validation messages, and admin panels. Install with composer and follow the docs for setup.
make:model-translation). Reduces onboarding time for junior devs unfamiliar with Laravel’s localization patterns.orderByTranslation).Adopt if:
Look elsewhere if:
spatie/laravel-medialibrary or custom solutions.spatie/laravel-translatable or build a microservice.spatie/laravel-activitylog or custom JSON columns.*"This package lets us ship multilingual features 10x faster without hiring specialized i18n engineers. For example:
*"This solves three key pain points:
{"en": "...", "fr": "..."}) with proper Eloquent relationships.scopeTranslation(), orderByTranslation(), and eager-loading out of the box—no N+1 queries.make:model-translation and IDE helpers.
Trade-offs:Product → ProductTranslation) instead of a shared table.Product, Article).*"This enables:
How can I help you explore Laravel packages today?