n1215 / psr-15-form-request
PSR-15/PSR-17 compatible HTTP request validation using Laravel's \illuminate\validation.
v0.2.0
2018-10-04 02:46 UTC
Requires
- php: >=7.1.0
- ext-json: *
- illuminate/validation: ^5.5
- psr/http-factory: ^1.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6.5
- roave/security-advisories: dev-master
- zendframework/zend-diactoros: ^2.0
- zendframework/zend-httphandlerrunner: ^1.0
This package is auto-updated.
Last update: 2024-12-11 21:26:48 UTC
README
PSR-15/PSR-17 compatible HTTP request validation inspired by Laravel's FormRequest.
Usage
composer require n1215/psr-15-form-request
- see example
example server app
start built-in server
cd psr-15-form-request
php -S 127.0.0.1:8080 -t example
and access
License
The MIT License (MIT). Please see LICENSE for more information.