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 247

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 5

Forks: 0

Open Issues: 0

Type:cakephp-plugin

0.0.2 2020-04-13 10:20 UTC

This package is not auto-updated.

Last update: 2024-04-24 03:55:21 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;
}