, (*1)
Utils Plugin for Cake 3.x
The Utils plugin offers you many components and behaviors to make developing easier. This plugin is required by the [Cak, (*2)
Installation
You can install this plugin into your CakePHP application using composer., (*3)
The recommended way to install composer packages is:, (*4)
composer require cakemanager/cakephp-utils:dev-master
Configuration
You will need to add the following line to your application's bootstrap.php file:, (*5)
Plugin::load('Utils');
Usage
Components
-
Authorizer - Component to work easily with authorization in your application-controllers.
-
GlobalAuth - Enables global access to user-data.
-
Menu - Adds menu-items in sections to pass to your view.
-
Search - Creates filters for your queries so you are able to filter on your list with a generated form.
Behaviors
-
Metas - Behavior to add meta-data to your current model.
-
Stateable - Generates multiple states (like concept, deleted, active) and with save-method and finders.
-
Uploadable - Great behavior to upload files automatically.
-
WhoDidIt - Saves the user who created the row, and modified the row.
-
IsOwnedBy - Checks if your entity is owned by the given (logged in) user.
Support
-
Gitter - Chat Tool for GitHub to talk about issues and new features., (*6)
-
GitHub - When there's something wrong, please open a new issue!, (*7)
-
CakePHP Utils Plugin Docs - Documentation about the Utils Plugin., (*8)
Contributing
If you have a good idea for a new feature, feel free to pull or open a new issue. Pull requests are always more than welcome!, (*9)
License
The MIT License (MIT), (*10)
Copyright (c) 2014 CakeManager by bobmulder, (*11)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:, (*12)
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software., (*13)
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE., (*14)