raccoonsoftware/slug

Laravel 5.1 Slug Package
93 1
Install
composer require raccoonsoftware/slug
Latest Version:V1.0.0
License:BSD
Last Updated:Nov 15, 2015
Links: GitHub  ·  Packagist
Maintainer: raccoonsoftware

Laravel 5.1 Slug Package

Gitter Latest Stable Version Total Downloads Latest Unstable Version License

Supported Alphabets

  • Russian
  • Kazakh
  • Ukrainian
  • Turkish

Installation

You should install this package through Composer.

Edit your project's composer.json file to require raccoonsoftware/slug.

"require": {
    "raccoonsoftware/slug": "*"
},

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.

'RaccoonSoftware\Slug\SlugServiceProvider::class',

And add a new item to the aliases array.

'Slug' => 'RaccoonSoftware\Slug\Facade\Slug::class',

Usage

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

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

Related Packages

pantagruel964/laravel5-yandex-slug

Generate slug into translit in according to Yandex rules for Laravel 5

702 4
faulker/laravel5-rackspace-cloudqueue

Rackspace CloudQueue driver for Laravel 5 Queue

13,992 0
nilportugues/laravel5-json-api-dingo

Laravel5 JSONAPI and Dingo together to build APIs fast

1,498 30
dansmith/laravel5-foundation

Zurb Foundation components for Laravel5

4,614 10