Skip to content

Don't load that much plugins, just one plugin with all utilities you need!

License

Notifications You must be signed in to change notification settings

mfrascati/cakephp-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Software License Latest Stable Version Total Downloads License

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.

Support

  • Gitter - Chat Tool for GitHub to talk about issues and new features.

  • GitHub - When there's something wrong, please open a new issue!

  • 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.

About

Don't load that much plugins, just one plugin with all utilities you need!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%