Download the PHP package lilhermit/cakephp-plugin-toolkit without Composer
On this page you can find all versions of the php package lilhermit/cakephp-plugin-toolkit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lilhermit/cakephp-plugin-toolkit
More information about lilhermit/cakephp-plugin-toolkit
Files in lilhermit/cakephp-plugin-toolkit
Download lilhermit/cakephp-plugin-toolkit
More information about lilhermit/cakephp-plugin-toolkit
Files in lilhermit/cakephp-plugin-toolkit
Vendor lilhermit
Package cakephp-plugin-toolkit
Short Description Toolkit plugin for CakePHP-3
License
Package cakephp-plugin-toolkit
Short Description Toolkit plugin for CakePHP-3
License
Please rate this library. Is it a good library?
Informations about the package cakephp-plugin-toolkit
Toolkit plugin for CakePHP-3
This plugin contains lots of useful content in one plugin
Installation
-
Add the plugin with the following command, replacing
1.*
withdev-master
if you want the bleeding edge: - Load the plugin in your
bootstrap.php
SluggableBehavior
Add the Behavior to any Table using $this->addBehavior('LilHermit/Toolkit.Sluggable');
in the initialize
method
The Behavior takes the following config options
Option | Type | Default | Description |
---|---|---|---|
field | String | title | This is the field that will be the source of the slug |
slug | String | slug | This is the field that will be used for the destination of the slug |
replacement | String | - (dash) | What character will be used to replace spaces |
lowercase | Boolean | false | Should the slug be converted to lowercase |
onCreate | Boolean | true | Should the slug be updated on Create |
onUpdate | Boolean | true | Should the slug be updated on Update |
Pass the options as an array like
All versions of cakephp-plugin-toolkit with dependencies
PHP Build Version
Package Version
The package lilhermit/cakephp-plugin-toolkit contains the following files
Loading the files please wait ....