php laravel fluent validation:Laravel的流利风格验证规则构建器 源码
Laravel的流利验证规则构建器 使用流畅的语法来构建 范例: $ rules = [ 'id' => Rule :: int ()-> required (), 'name' => Rule :: string ()-> required ()-> minLength ( 3 )-> toString (), 'email' => Rule :: string ()-> required ()-> email ()-> toArray (), 'role_id' => Rule :: modelExists ( Role ::class), 'salary' => Rule :: int ()-> when ( $ isPHPDeveloper , function ( $ rule
文件列表
php-laravel-fluent-validation-master.zip
(预估有个41文件)
php-laravel-fluent-validation-master
composer.json
1KB
phpunit.xml
747B
docs
intellisence.png
50KB
inline_docs.png
55KB
.github
workflows
phpunit.yml
1KB
phpcs.yml
595B
用户评论