hiraeth / checkpoint
Validation via Checkpoint for the Hiraeth Nano-Framework
Installs: 7 487
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:opus-package
Requires
- hiraeth/app: ^3.0
- imarc/checkpoint: ^2.0
Requires (Dev)
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2024-12-18 20:15:21 UTC
README
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.
Installation
composer require hiraeth/checkpoint
The checkpoint.jin
configuration will be automatically copied to your config
directory via opus.
Delegates
No delegates are included in this package.
Providers
Usage
See the Checkpoint documentation for more information on how to create inspectors.