spatie/laravel-translatable
Adds HasTranslations to Eloquent models to store translations in JSON columns—no extra tables. Define translatable attributes via PHP 8 attribute or $translatable property, then set/get per-locale values while model accessors return the current app locale.
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?