File tree Expand file tree Collapse file tree 4 files changed +4
-56
lines changed
Expand file tree Collapse file tree 4 files changed +4
-56
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ php8.1 版本后内置枚举支持,更多信息可以查看:https://www.php.
2626
2727## 安装
2828
29- 支持 Laravel 10/Lumen 10 以上版本:
29+ 支持 Laravel 10 以上版本:
3030
3131``` shell
3232$ composer require jiannei/laravel-enum -vvv
@@ -129,13 +129,13 @@ $array = UserTypeEnum::toSelectArray();// 支持多语言配置
129129
130130### 枚举转换和校验
131131
132- - https://laravel.com/docs/10 .x/requests#retrieving-enum-input-values
133- - https://laravel.com/docs/10 .x/validation#rule-enum
132+ - https://laravel.com/docs/11 .x/requests#retrieving-enum-input-values
133+ - https://laravel.com/docs/11 .x/validation#rule-enum
134134
135135
136136### Model 中的枚举转换
137137
138- - https://laravel.com/docs/10 .x/eloquent-mutators#enum-casting
138+ - https://laravel.com/docs/11 .x/eloquent-mutators#enum-casting
139139
140140## License
141141
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments