https://github.com/parallax/cakephp-sluggable
https://github.com/parallax/cakephp-sluggable
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/parallax/cakephp-sluggable
- Owner: parallax
- Created: 2013-10-09T09:56:10.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-14T15:54:55.000Z (over 12 years ago)
- Last Synced: 2025-06-30T00:11:19.176Z (12 months ago)
- Language: PHP
- Size: 137 KB
- Stars: 0
- Watchers: 28
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.mdown
Awesome Lists containing this project
README
CakePHP 2.0 Sluggable Behavior
==============================
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