anovanmaximuz/laravel-validation
最新稳定版本:v1.0.3
Composer 安装命令:
composer require anovanmaximuz/laravel-validation
包简介
validasi request for laravel
README 文档
README
Laravel Validation was created by, and is maintained by Ano Van, and is a package designed to support validation request on Laravel.
- It's included on Laravel Lumen, the most popular free, open-source PHP framework in the world.
Installation & Usage
Requires PHP 7.3+
Require Laravel Validation using Composer:
composer require anovanmaximuz/laravel-validation
As an example, here is how to require Laravel Validation on Laravel 8.x:
use Anovanmaximuz\LaravelValidation as Validation; ... $paramsChecks = new Validation\request($request, [ 'partnerServiceId' => 'required|max:9|string', 'customerNo'=>'required|string|max:20', 'virtualAccountNo'=>'required|string|max:28', 'trxDateInit'=>'required|date|max:25', 'channelCode'=>'required|int|max:4', 'inquiryRequestId'=>'required|string|max:128' ],'parameter', true);
Support Validations
- Request parameter validation POST, GET
- Header validation
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-01