CakePHP 框架的工具

mscherer e44466f6b2 Test PHP8.4 1 year ago
.github e44466f6b2 Test PHP8.4 1 year ago
config 9bd3a773f2 Example config 2 years ago
docs c0c32ccae9 Add Pages backend. 1 year ago
resources dbf2571799 Merge remote-tracking branch 'origin/cake3' into master 5 years ago
src c0c32ccae9 Add Pages backend. 1 year ago
templates c0c32ccae9 Add Pages backend. 1 year ago
tests c0c32ccae9 Add Pages backend. 1 year ago
.editorconfig 39e5d6f731 template 6 years ago
.gitattributes f128a68798 Fix up gitattributes 1 year ago
.gitignore e7b8df1a92 Fix tests 2 years ago
.scrutinizer.yml 987acd04dd update bootstrap 11 years ago
LICENSE 55cc6614ba Init 4.x branch 6 years ago
README.md 5fd97cd305 Fix up badges 2 years ago
composer.json 0cf4c99ca8 Update composer.json 1 year ago
phpcs.xml e575a8e14b Fix PHPCS 2 years ago
phpstan.neon e56048ed80 allow PHPUnit 11 1 year ago
phpunit.xml.dist 2749217a25 Show deprecations 2 years ago

README.md

CakePHP Tools Plugin

CI 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 5.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.
  • Icon helper for displaying all kind of font icons.
  • 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 4.x shims

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

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

Installation & Docs