CakePHP 框架的工具

Mark Scherer 43e896c67b Fix typo 9 years ago
config 935f766e70 Fix CS 9 years ago
docs de41ac0f01 Update Jsonable.md 9 years ago
src 43e896c67b Fix typo 9 years ago
tests 5a22c3fc6d min max datetime 9 years ago
.editorconfig 6a0f2e82ee License and editorconfig 9 years ago
.gitattributes 4d5e02f4b3 Git attributes 10 years ago
.gitignore 060e946e96 Refactor tests. 11 years ago
.scrutinizer.yml 987acd04dd update bootstrap 11 years ago
.travis.yml 83b4307621 Undo failure allow 10 years ago
LICENSE 6a0f2e82ee License and editorconfig 9 years ago
README.md 63190bd710 Update README.md 10 years ago
composer.json 04105dcc68 Add PHP 7.0 to test matrix and fix CS 10 years ago
phpunit.xml.dist dacdaa3b36 More tests. 11 years ago

README.md

CakePHP Tools Plugin

Build Status Coverage Status 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
  • Tree helper for working with (complex) trees and their output.
  • Text, Time, Number libs and helpers etc provide extended functionality if desired.
  • AuthUser, Timeline, Typography, etc provide additional helper functionality.
  • Email as a wrapper for core's Email adding some more usefulness and making debugging/testing easier.

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.
  • Cut down version of JsHelper and a few more things.

Installation & Docs

TODOs

  • Move more 2.x stuff to 3.x