kalitvyan/laravel-enum-localization
最新稳定版本:v1.0.0
Composer 安装命令:
composer require kalitvyan/laravel-enum-localization
包简介
Laravel Enums with Localizationgit
README 文档
README
This package helps to working with Enums and its values (aka Backed enums) when you need different languages to use. It includes an artisan command to generate Enum.
Installation
composer require kalitvyan/laravel-enum-localization
Usage
To generate a new Enum run the following artisan command:
php artisan make:enum MyEnum
It will generate the following enum: app/Enums/MyEnum.php.
Testing
To run the test suite:
composer test
Credits
LICENSE
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-11