meshkov/sluggler

There is no license information available for the latest version (dev-master) of this package.

Laravel 4 Cyrillic slugs generator

dev-master 2013-12-13 21:40 UTC

This package is not auto-updated.

Last update: 2024-11-18 16:22:16 UTC


README

Cyrillic slugs made easy!

Installation

You should install this package through Composer.

Edit your project's composer.json file to require meshkov/sluggler.

"require": {
	"laravel/framework": "4.0.*",
	"meshkov/sluggler": "dev-master"
},
"minimum-stability" : "dev"

Next, update Composer from the Terminal: composer update

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Meshkov\Sluggler\SlugglerServiceProvider',

Usage

Just call static method Sluggler::make($some_text) anywhere in your app.