Checkpoint is a validation system which uses explicit "inspectors" to validate entities of mixed types. Developers can create inspector classes which will run against entities/models, requests, or whatever they like. Since the data provided to an inspector can be whatever you like, Checkpoint is as flexible for form validation as it is for model validation. It uses respect/validation for the actual validation of data.
composer require hiraeth/checkpoint
The checkpoint.jin configuration will be automatically copied to your config directory via opus.
No delegates are included in this package.
| Operative Interface | Provides |
|---|---|
Checkpoint\Validation |
Respect\Validation\Validator |
See the Checkpoint documentation for more information on how to create inspectors.