friendsofcake2/cakeplus

Cake plus is cakephp plugin and provides some functions for CakePHP.

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 15

Type:cakephp-plugin

v2.0.1 2025-09-17 01:49 UTC

This package is auto-updated.

Last update: 2025-09-17 01:51:48 UTC


README

This is forked for CakePHP2.

Cake plus is cakephp plugin and provides some functions for CakePHP.

We will provide functions as follow.

Component

  • HtmlEscape: Execute Html Escape and nl2br to Array Data (Option: you can set no escape list in Array Data)

Behavior

  • AddValidationRule: Check number of Multi byte character. Check difference between 2 fields. Check Japanese Hiragana only input. Check Japanese Katakana only input. Check Japanese Zenkaku only input. Check space and Multibyte space only input.

  • ValidationErrorI18n: set validation error messages with gettext __()

  • ValidationPatterns: Summarize multiple validation pattern for writing validation define easily.

Helper

  • FormScreen: Auto create hidden tag

Contributors

  • k1LoW feature of hash value check with AuthComponent in add_validation_rule::checkCompare Help me to create ValidationErrorI18nBehavior. Made the patch for CakePHP2.0

  • Kagasawa-san : adding validation rules(betweenJP, hiragana_only, zenkaku_only) Author of the ValidationPatterns behavior.