kolpikov/laravel-slug is a Laravel package for laravael 5 slug maker for cyrillic strings.
It currently has 0 GitHub stars and 1.521 downloads on Packagist (latest version 1.0.1).
Install it with composer require kolpikov/laravel-slug.
Discover more Laravel packages by kolpikov
or browse all Laravel packages to compare alternatives.
Last updated
This library was forked from ivanlemeshev/laravel5-cyrillic-slug
* Russian
* Kazakh
* Ukrainian
You should install this package through Composer.
Edit your project's composer.json file to require Kolpikov/laravel5-cyrillic-slug.
"require": {
"Kolpikov/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.
'Kolpikov\LaravelSlug\SlugServiceProvider',
And add a new item to the aliases array.
'Slug' => 'Kolpikov\LaravelSlug\SlugFacade',
Call of the method: Slug::make($text)
Call of the method with specific separator: Slug::make($text, '_').
This project is licensed under the MIT license.