Skip to content
No description or website provided.
PHP
Latest commit f8d8125 Jun 27, 2015 @ivanlemeshev Update README.md
Failed to load latest commit information.
src/Ivanlemeshev/Laravel4CyrillicSlug
.gitignore
LICENSE Update LICENSE Mar 1, 2015
README.md
composer.json Update composer.json Mar 1, 2015

README.md

Laravel 4 Cyrillic Slug

Latest Stable Version Total Downloads Latest Unstable Version License

Supported Alphabets

  • Russian
  • Kazakh
  • Ukrainian

Installation

You should install this package through Composer.

Edit your project's composer.json file to require ivanlemeshev/laravel-cyrillic-slug.

"require": {
    "ivanlemeshev/laravel4-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\Laravel4CyrillicSlug\SlugServiceProvider',

And add a new item to the aliases array.

'Slug' => 'Ivanlemeshev\Laravel4CyrillicSlug\Facades\Slug',

Usage

Call of the method: Slug::make($text)

Call of the method with specific separator: Slug::make($text, '_').

Something went wrong with that request. Please try again.