parallax / cakephp-sluggable
CakePHP Sluggable Plugin
Installs: 160
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 29
Forks: 0
Type:cakephp-plugin
Requires
- php: >=5.3.0
- composer/installers: *
This package is not auto-updated.
Last update: 2024-11-19 05:47:10 UTC
README
CakePHP 2.0 Compatible version based largely on Mariano Iglesias' original Sluggable Behavior
Installation
Copy the plugin to app/Plugin/
Usage
Use inside your model
public $actsAs = array('Sluggable.Sluggable' => array(
'label'=>'name',
'slug'=>'slug',
'separator'=>'-',
'overwrite'=>true
));
Tests
Test Cases are largely untouch and have not been rewritten to for CakePHP 2.0