PHPackages                             lopatin96/laravel-trans-enum - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lopatin96/laravel-trans-enum

ActiveLibrary

lopatin96/laravel-trans-enum
============================

Laravel trans enum

1.0.7(1y ago)02.7kMITPHPPHP &gt;=8.0

Since Nov 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lopatin96/laravel-trans-enum)[ Packagist](https://packagist.org/packages/lopatin96/laravel-trans-enum)[ RSS](/packages/lopatin96-laravel-trans-enum/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

### Install

[](#install)

When you have an enums like `App\Enums\Smoking.php`, create an `\lang\en\enums\smoking.php` file with locals.

```
