PHPackages                             tyrellsys/cakephp3-messages-validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. tyrellsys/cakephp3-messages-validator

Abandoned → [tyrellsys/cakephp-validator](/?search=tyrellsys%2Fcakephp-validator)Cakephp3-plugin[Validation &amp; Sanitization](/categories/validation)

tyrellsys/cakephp3-messages-validator
=====================================

CakePHP3 Validator that set the validation message

0.0.3(6y ago)16451[1 PRs](https://github.com/tyrellsys/cakephp3-messages-validator/pulls)PHPPHP &gt;=5.6.0CI failing

Since Oct 23Pushed 6y ago4 watchersCompare

[ Source](https://github.com/tyrellsys/cakephp3-messages-validator)[ Packagist](https://packagist.org/packages/tyrellsys/cakephp3-messages-validator)[ RSS](/packages/tyrellsys-cakephp3-messages-validator/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

CakePHP3 Messages Validator plugin
==================================

[](#cakephp3-messages-validator-plugin)

CakePHP3 Validator that set the validation message

Requirements
------------

[](#requirements)

The master branch has the following requirements:

- CakePHP &gt;=3.6.0,&lt;4.0.0
- PHP 5.6.0 or greater

Installation
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require tyrellsys/cakephp3-messages-validator

```

Load your pligin load Tyrellsys/CakePHP3MessagesValidator

```
bin/cake plugin load Tyrellsys/CakePHP3MessagesValidator

```

or by manually putting `$this->addPlugin('Tyrellsys/CakePHP3MessagesValidator')` in your `Application.php`.

Config
------

[](#config)

set messages `messagesValidator.messages`.

config/messages.php

```
return [
    'messagesValidator' => [
        'messages' => [
            'required' => 'required messages',
            'notEmpty' => 'notEmpty messages',
            'maxLength' => 'maxLength messages',
        ]
    ]
];

// for po file setting
__d('validation', 'required messages');
__d('validation', 'notEmpty messages');
__d('validation', 'maxLength messages');

// fieldName for po file setting
__d('validation', 'fieldName');
```

and putting `config/bootstrap.php`.

```
Configure::load('messages');

```

Model validation
----------------

[](#model-validation)

```
namespace App\Model\Table;

...

class PostsTable extends Table
{
    protected $_validatorClass = \Tyrellsys\CakePHP3MessagesValidator\Validation\Validator::class;
}
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Total

3

Last Release

2400d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1726154?v=4)[TS\_瀧澤 充浩（Takizawa Mitsuhiro）](/maintainers/mtak3)[@mtak3](https://github.com/mtak3)

---

Top Contributors

[![mtak3](https://avatars.githubusercontent.com/u/1726154?v=4)](https://github.com/mtak3 "mtak3 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tyrellsys-cakephp3-messages-validator/health.svg)

```
[![Health](https://phpackages.com/badges/tyrellsys-cakephp3-messages-validator/health.svg)](https://phpackages.com/packages/tyrellsys-cakephp3-messages-validator)
```

###  Alternatives

[cakephp/bake

Bake plugin for CakePHP

11211.7M190](/packages/cakephp-bake)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308914.0k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M40](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131237.3k13](/packages/dereuromark-cakephp-tinyauth)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

35184.7k2](/packages/dereuromark-cakephp-setup)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
