spatie/laravel-translatable
Add multilingual fields to Eloquent models using a simple HasTranslations trait. Store translations as JSON on the model (no extra tables). Set/get translations per locale, switch app locale, fetch all translations, and even translate nested JSON keys via -> notation.
The laravel-translatable package requires PHP 8.0+, Laravel 9+.
This package uses json columns. MySQL 5.7 or higher is required.
How can I help you explore Laravel packages today?