tyrellsys / cakephp-validator
CakePHP4 Validator that set the validation message
Installs: 1 487
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 1
Type:cakephp-plugin
Requires
- php: >=7.2
- cakephp/cakephp: ^4.0
Requires (Dev)
- cakephp/cakephp-codesniffer: ~4.0.0
- phpunit/phpunit: ^8.5
This package is not auto-updated.
Last update: 2025-03-26 08:52:13 UTC
README
CakePHP4 Validator that set the validation message
Requirements
The master branch has the following requirements:
- CakePHP >4.0.0
- PHP 7.2 or greater
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require tyrellsys/cakephp-validator
no need plugin load
Config
no configuration
Model validation
namespace App\Model\Table; ... class PostsTable extends Table { protected $_validatorClass = \Tyrellsys\CakePHPValidator\Validation\Validator::class; }