masterskill/validation-error-trait
最新稳定版本:1.0.0
Composer 安装命令:
composer require masterskill/validation-error-trait
包简介
This package is a trait to validate input and return directly error with status code 400 to FormRequest in laravel
README 文档
README
The package
This package is for validating directly the FormRequest and return all error in JSON like with BAD_REQUEST status code.
Installation
To install this, you need Composer and the Laravel framework. After that, you can install the package with the command :
composer require masterskill/validation-error-trait
Note
This project is just an implementation of the failedValidation function for the form request in Laravel. Always read the framework documentation to read all stuff about it.
统计信息
- 总下载量: 95
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-01