enterpriseconsultingdeveloper / cm-utils
Plugin for CakePHP 3.x with useful components and behaviors
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 24
Type:cakephp-plugin
Requires
- php: >=5.4
- cakephp/cakephp: 3.0.x-dev
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-14 13:37:41 UTC
README
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
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require cakemanager/cakephp-utils:dev-master
Configuration
You will need to add the following line to your application's bootstrap.php file:
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.
Documentation
For documentation, as well as tutorials, see the documentation on cakemanager.org.
Support
-
CakeManager Website - Website of the CakeManager Team. Here you can find everything about us and our plugins.
-
Gitter - Chat Tool for GitHub to talk about issues and new features.
-
GitHub - When there's something wrong, please open a new issue!
-
CakeManager Docs - Documentation about the CakeManager Plugin.
-
CakePHP Utils Plugin Docs - Documentation about the Utils Plugin.
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!
License
The MIT License (MIT)
Copyright (c) 2014 CakeManager by bobmulder
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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
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.