awurth / slim-validation
A validator for PHP, using respect/validation
Installs: 194 224
Dependents: 10
Suggesters: 0
Security: 0
Stars: 67
Watchers: 4
Forks: 22
Open Issues: 4
Requires
- php: >=7.1
- psr/http-message: ^1.0
- respect/validation: ^1.1
Requires (Dev)
- phpunit/phpunit: >=7.0
- slim/slim: ^3.8
- slim/twig-view: ^2.2
Suggests
- slim/twig-view: Needed to be able to use the Twig Extension with Slim
- twig/twig: Needed to be able to use the Twig Extension
README
A validator for PHP, using Respect Validation (Requires PHP 8.1+)
This project was originally designed to be used with the Micro-Framework "Slim", but can now be used with any psr/http-message compliant framework, or any other PHP project if you don't need request parameters validation.
Installation
$ composer require awurth/slim-validation
Documentation
License
This package is available under the MIT license.