tyrellsys/cakephp-validator

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

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

0.0.2 2020-04-13 10:20 UTC

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;
}