kolpikov / laravel-slug
Laravael 5 slug maker for Cyrillic strings
Installs: 998
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kolpikov/laravel-slug
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2025-10-19 23:41:42 UTC
README
This library was forked from ivanlemeshev/laravel5-cyrillic-slug
Supported Alphabets
* Russian
* Kazakh
* Ukrainian
Installation
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',
Usage
Call of the method: Slug::make($text)
Call of the method with specific separator: Slug::make($text, '_').
License
This project is licensed under the MIT license.