Skip to content

Ridzuan94/cakephp-validator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP4 Messages Validator plugin

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

About

Validator class for CakePHP4

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 94.5%
  • Shell 5.5%