CakePHP 框架的工具

mscherer e1bf56ba4f Fix CS. 8 年之前
config fb39728e65 Revert as it is already part of setup plugin 9 年之前
docs 97bbaf6efa Fix up bracket style 9 年之前
src e1bf56ba4f Fix CS. 8 年之前
tests 64c7a5fde5 Fix BC breaking change from 3.3 to 3.4. 8 年之前
.editorconfig 6a0f2e82ee License and editorconfig 9 年之前
.gitattributes 4d5e02f4b3 Git attributes 10 年之前
.gitignore 443d67c451 Ignore idea 9 年之前
.scrutinizer.yml 987acd04dd update bootstrap 11 年之前
.travis.yml 43adbccd80 Require CakePHP 3.4 from now on. 8 年之前
LICENSE 6a0f2e82ee License and editorconfig 9 年之前
README.md 564c1d2226 Update README.md 9 年之前
composer.json 43adbccd80 Require CakePHP 3.4 from now on. 8 年之前
phpunit.xml.dist dacdaa3b36 More tests. 11 年之前

README.md

CakePHP Tools Plugin

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

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

Version notice

This master branch only works for CakePHP3.x - 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.
  • TetSuite enhancements
  • A few more Database Type classes

Additional features

  • Passwordable behavior allows easy to use password functionality for frontend and backend.
  • 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