Looking to hire Laravel developers? Try LaraJobs

laravel-rule maintained by xgbnl

Description
集成验证规则
Author
Last update
2023/05/17 10:06 (dev-main)
License
Links
Downloads
257

Comments
comments powered by Disqus

laravel-rule

install

composer require xgbnl/laravel-rule

use

public function rules(): array
{
    return [
        'name' => 'chinese',
        'phone' => 'phone',
        'idCard' => 'id_card',
        'bankCard' => 'bank_card',
    ];
}