tyrellsys / cakephp-validator
CakePHP4 Validator that set the validation message
Installs: 1 506
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=8.1
- cakephp/cakephp: ^5.0.1
Requires (Dev)
- cakephp/cakephp-codesniffer: ^5.0
- phpunit/phpunit: ^10.1.0
This package is not auto-updated.
Last update: 2025-05-05 03:52:36 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; }