pafelin / laravel4-german-slug
Laravel 4 slug maker for german/austrian strings
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pafelin/laravel4-german-slug
Requires
- php: >=5.3.0
- illuminate/support: 4.1.*
Requires (Dev)
- phpunit/phpunit: 4.0.*@dev
This package is not auto-updated.
Last update: 2025-10-11 20:30:43 UTC
README
Installation
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',
Usage
Call of the method: Slug::make($text)
Call of the method with specific separator: Slug::make($text, '_')
.
License
The MIT License (MIT)
Copyright (c) 2013 Pavel Genov