CakePHP 框架的工具

mscherer cc95261759 Use better default chars that work in all browsers. 6 年之前
config 873d49dad8 Fix tests. 6 年之前
docs b3c4429e36 Add progress helper calculate() method. 6 年之前
src cc95261759 Use better default chars that work in all browsers. 6 年之前
tests cc95261759 Use better default chars that work in all browsers. 6 年之前
.editorconfig 6893ad1bf6 Refactor enum into trait. 6 年之前
.gitattributes 150573dfdb gitattributes export fix 8 年之前
.gitignore 81f07be307 Fix for 3.6 support. 7 年之前
.scrutinizer.yml 987acd04dd update bootstrap 11 年之前
.travis.yml 9d3aaffb0e Update .travis.yml 6 年之前
LICENSE 6a0f2e82ee License and editorconfig 9 年之前
README.md 4f720ea4a0 Update README.md 6 年之前
composer.json 6893ad1bf6 Refactor enum into trait. 6 年之前
phpunit.xml.dist 9d1a719c98 Remove deprecations. 7 年之前

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.7+ - please use the 2.x branch for CakePHP 2.x!

What is this plugin for?

Enhancing the core

  • Auto-trim on POST (to make - especially notEmpty/notBlank - 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
  • Tree helper for working with (complex) trees and their output.
  • 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