AleksMeshkov / Laravel-4-Sluggler by aleksmeshkov

Laravel 4 Cyrillic slugs generator
134
0
2
Package Data
Maintainer Username: aleksmeshkov
Maintainer Contact: tomeshkov@gmail.com (Aleksey Meshkov)
Package Create Date: 2013-10-01
Package Last Update: 2013-12-13
Language: PHP
License: Unknown
Last Refreshed: 2024-11-22 15:02:23
Package Statistics
Total Downloads: 134
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 1

Sluggler

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.