CakePHP 框架的工具

mscherer 317b628ba6 Fix CS 1 year ago
.github 8d6372d106 Fix up CI badge 2 years ago
config 37b6dfc00e Fix up config for icon 3 years ago
docs 88c3d0f100 Docs 2 years ago
resources dbf2571799 Merge remote-tracking branch 'origin/cake3' into master 5 years ago
src 317b628ba6 Fix CS 1 year ago
templates 4fbd1e63bf Pagination modulus 4 years ago
tests 7d864dc5d0 Update TimeHelperTest.php 1 year ago
.editorconfig 39e5d6f731 template 6 years ago
.gitattributes 1953105ad0 Move FormatHelper::icon() to IconHelper::render() (#278) 3 years ago
.gitignore 343606357d Fix up gitignore 1 year ago
.scrutinizer.yml 987acd04dd update bootstrap 11 years ago
LICENSE 55cc6614ba Init 4.x branch 6 years ago
README.md 8d6372d106 Fix up CI badge 2 years ago
composer.json 61d2858f2b Fix up phpcs version 1 year ago
phpcs.xml 66dddaf3d8 Update phpcs.xml 3 years ago
phpstan.neon 378dd5cbd3 Fix PHPStan 2 years ago
phpunit.xml.dist 4f56966f2d GitterLog sending 3 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 4.2+. 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. NEW
  • 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