CakePHP 框架的工具

mscherer a70a797536 Upgrade forms. 7 years ago
config eec5e29be2 Fix CS 8 years ago
docs a70a797536 Upgrade forms. 7 years ago
src cbccb89d96 Fix bitmasked null behavior. 7 years ago
tests cbccb89d96 Fix bitmasked null behavior. 7 years ago
.editorconfig 6a0f2e82ee License and editorconfig 9 years ago
.gitattributes 150573dfdb gitattributes export fix 8 years ago
.gitignore 81f07be307 Fix for 3.6 support. 7 years ago
.scrutinizer.yml 987acd04dd update bootstrap 11 years ago
.travis.yml 860e40624e dont use 7.3 yet. 7 years ago
LICENSE 6a0f2e82ee License and editorconfig 9 years ago
README.md 6b20e9fbc2 Remove deprecations. 7 years ago
composer.json 09eb1e6b8f phpstan fixes. 7 years ago
phpunit.xml.dist 9d1a719c98 Remove deprecations. 7 years ago

README.md

CakePHP Tools Plugin

Build Status Coverage Status Latest Stable Version Minimum PHP Version License Total Downloads Coding Standards

A CakePHP plugin containing several useful tools that can be used in many projects.

Version notice

This master branch only works for CakePHP 3.6+ - please use the 2.x branch for CakePHP 2.x!

What is this plugin for?

Enhancing the core

  • Auto-trim on POST (to make - not only notEmpty - validation working properly).
  • Disable cache also works for older IE versions.
  • Provide enum support as "static enums"
  • Default settings for Paginator, ... can be set using Configure.
  • Provided a less error-prone inArray() method via Utility class and other usefulness.
  • TestSuite enhancements
  • A few more Database Type classes

Additional features

  • Passwordable behavior allows easy to use password functionality for frontend and backend.
  • MultiColumnAuthenticate for log-in with e.g. "email or username".
  • Slugged, Reset and other behaviors
  • Text, Time, Number libs and helpers etc provide extended functionality if desired.
  • QrCode, Gravatar and other useful small helpers
  • Timeline, Typography, etc provide additional helper functionality.
  • Email as a wrapper for core's Email adding some more usefulness and making debugging/testing easier.
  • I18n language detection and switching

Providing 2.x shims

This plugin for CakePHP 3 also contains some 2.x shims to ease migration of existing applications from 2.x to 3.x:

  • See Shim plugin for details on most of the provided shims.

Installation & Docs

TODOs

  • Move more 2.x stuff to 3.x