Package Data | |
---|---|
Maintainer Username: | pafelin |
Maintainer Contact: | pavel@taskprocess.com (Pavel Genov) |
Package Create Date: | 2014-04-01 |
Package Last Update: | 2014-04-01 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:12:57 |
Package Statistics | |
---|---|
Total Downloads: | 6 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
You should install this package through Composer.
Edit your project's composer.json
file to require pafelin/laravel4-german-slug
.
"require": {
"laravel/framework": "4.1.*",
"pafelin/laravel4-german-slug": "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.
'Pafelin\Laravel4GermanSlug\SlugServiceProvider',
And add a new item to the aliases array.
'Slug' => 'Pafelin\Laravel4GermanSlug\Facades\Slug',
Call of the method: Slug::make($text)
Call of the method with specific separator: Slug::make($text, '_')
.
The MIT License (MIT)
Copyright (c) 2013 Pavel Genov