Laravel Enum Translatable is a package that enables translation of PHP enum values in multilingual Laravel applications. It provides a trait-based implementation that integrates with Laravel's translation system, allowing enums to be translated across multiple locales. The package supports converting enums to arrays, retrieving translations for specific locales or all locales at once, and automatic casting in Eloquent models. Translation keys are automatically generated based on enum class names and stored in standard Laravel language files.
Sort: