pieceofcake2/cakeplus

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

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 15

Open Issues: 0

Type:cakephp-plugin

v2.0.1 2025-10-05 21:47 UTC

This package is auto-updated.

Last update: 2025-10-05 22:16:29 UTC


README

GitHub License Packagist Version PHP CakePHP CI Codecov

This is forked for CakePHP2.

Cakeplus is cakephp plugin and provides some functions for CakePHP.

Installation

composer require pieceofcake2/cakeplus

Feature

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