Search by

pieceofcake2 / localized

ttsurupieceofcake2

CakePHP 2 localized validation rules for postal codes, phone numbers and person IDs of many countries, with core translations

Package info

github.com/pieceofcake2/localized

Type:cakephp-plugin

pkg:composer/pieceofcake2/localized

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

v2.7.5 2026-10-16 08:36 UTC

README

GitHub License Packagist Version PHP CakePHP PHPStan CI Codecov

This plugin contains localized validation classes for specific countries (postal codes, phone numbers, person IDs and more), translations of the core's cake domain and POSIX LC_TIME files. This is a fork of cakephp/localized 2.x for pieceofcake2/cakephp.

Documentation

The Markdown documentation is also included in the Composer package, in the plugin's directory: plugins/Localized/docs/README.md (the location depends on your installer-paths). Install the package with --dev if you only need it for development.

Requirements

  • PHP 8.0+
  • pieceofcake2/cakephp 2.12+

Installation

composer require pieceofcake2/localized

Reporting Issues

Please open an issue on GitHub.

Contributing

See the contribution guidelines.

Origin

This package is a maintained fork of cakephp/localized (cakephp/localized on Packagist, last upstream version 2.7.0), originally by the CakePHP community (Cake Software Foundation, Inc.). It is maintained for CakePHP 2 on modern PHP by pieceofcake2. Changes from the original are listed in the commit history since the fork.

License

The MIT License. See LICENSE.