Package Data | |
---|---|
Maintainer Username: | ivanlemeshev |
Maintainer Contact: | vanlmshv@gmail.com (Ivan Lemeshev) |
Package Create Date: | 2015-02-28 |
Package Last Update: | 2016-10-12 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2021-02-28 15:34:20 |
Package Statistics | |
---|---|
Total Downloads: | 38,147 |
Monthly Downloads: | 463 |
Daily Downloads: | 0 |
Total Stars: | 25 |
Total Watchers: | 3 |
Total Forks: | 12 |
Total Open Issues: | 0 |
* Russian
* Kazakh
* Ukrainian
You should install this package through Composer.
Edit your project's composer.json
file to require ivanlemeshev/laravel5-cyrillic-slug
.
"require": {
"ivanlemeshev/laravel5-cyrillic-slug": "1.0.0"
},
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.
'IvanLemeshev\Laravel5CyrillicSlug\SlugServiceProvider',
And add a new item to the aliases array.
'Slug' => 'IvanLemeshev\Laravel5CyrillicSlug\SlugFacade',
Call of the method: Slug::make($text)
Call of the method with specific separator: Slug::make($text, '_')
.