CakePHP 框架的工具

mscherer 7758c95eaf Add typehints. 5 年之前
config 7758c95eaf Add typehints. 5 年之前
docs 02aab77060 Move inflect script to command. 5 年之前
resources dbf2571799 Merge remote-tracking branch 'origin/cake3' into master 5 年之前
src 65c8f319ef Fix cs. 5 年之前
templates 5d1357d472 Docs 5 年之前
tests 7758c95eaf Add typehints. 5 年之前
.editorconfig 39e5d6f731 template 6 年之前
.gitattributes 150573dfdb gitattributes export fix 8 年之前
.gitignore 5753afad12 ignore 5 年之前
.scrutinizer.yml 987acd04dd update bootstrap 11 年之前
.travis.yml 743ddc1755 Fix Error logging for 404s. 5 年之前
LICENSE 55cc6614ba Init 4.x branch 6 年之前
README.md f3b11b6e3b Update travis badge 5 年之前
composer.json dd9aee7f54 Merge remote-tracking branch 'origin/cake3' 5 年之前
phpunit.xml.dist 70a8a95a53 Remove deprecations 5 年之前

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 4.0+. See version map for details.

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.
  • Progress and Meter helper for progress bar and meter bar elements (HTML5 and textual).
  • 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 3.x shims

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

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

Installation & Docs

TODOs

  • Move more 3.x stuff to 4.x