|
|
@@ -6,35 +6,33 @@
|
|
|
[](https://packagist.org/packages/dereuromark/cakephp-tools)
|
|
|
[](https://github.com/php-fig-rectified/fig-rectified-standards)
|
|
|
|
|
|
-A CakePHP 3.x Plugin containing several useful tools that can be used in many projects.
|
|
|
+A CakePHP 3.x plugin containing several useful tools that can be used in many projects.
|
|
|
|
|
|
## Version notice
|
|
|
|
|
|
-This cake3 branch only works for **CakePHP3.x** - please use the master branch for CakePHP 2.x!
|
|
|
-**It is still dev** (no stable release yet), please be careful with using it.
|
|
|
+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.
|
|
|
-- With $this->Flash->message() you can have colorful (success, warning, error, ...) flash messages.
|
|
|
- They also can stack up (multiple messages per type) which the core currently doesn't support.
|
|
|
- Provide enum support as "static enums"
|
|
|
- Default settings for Paginator, ... can be set using Configure.
|
|
|
-- Provided a less error-prone inArray() method when using Utility class.
|
|
|
-
|
|
|
+- Provided a less error-prone inArray() method via Utility class and other usefulness.
|
|
|
+- TetSuite enhancements
|
|
|
+- A few more Database Type classes
|
|
|
+
|
|
|
### Additional features
|
|
|
-- The Passwordable behavior allows easy to use password functionality for frontend and backend.
|
|
|
+- 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.
|
|
|
-- Ajax Views for better responses (Ajax also comes with an optional component).
|
|
|
-- Slugged and Reset behavior
|
|
|
-- The Text, Time, Number libs and helpers etc provide extended functionality if desired.
|
|
|
+- 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 the Cake 3 version also contains some 2.x shims to ease migration of existing applications from 2.x to 3.x:
|
|
|
+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.
|
|
|
|