hiraeth/checkpoint

Validation via Checkpoint for the Hiraeth Nano-Framework

Installs: 6 467

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:opus-package

3.0-beta 2024-03-15 19:13 UTC

This package is auto-updated.

Last update: 2024-03-18 18:42:43 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

Operative Interface Provides
Checkpoint\Validation Respect\Validation\Validator

Usage

See the Checkpoint documentation for more information on how to create inspectors.