fruit/checkkit

There is no license information available for the latest version (0.2.0) of this package.

Data validating tools for Fruit framework

0.2.0 2018-10-08 19:45 UTC

This package is auto-updated.

Last update: 2024-04-09 13:21:04 UTC


README

CheckKit is set of data validating tools for Fruit framework.

Synopsis

$repo = Repo::default();
$repo->mustCheck([], 'array', []); // safe
$repo->mustCheck([], 'array', ['min_length' => 3]); // throws exception

See documents of each validator for supported rules.

License

Any version of MIT, GPL or LGPL.