nsept/yii2-cyrillic-slug-behavior

Yii2 Cyrillic Slug Behavior

Installs: 2 227

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 1

Type:yii2-extension

v1.0.1 2016-09-19 06:55 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:14:11 UTC


README

Install

composer require --prefer-dist nsept/yii2-cyrillic-slug-behavior "*"

Usage

public function behaviors()
{
    return [
        [
            'class' => \nsept\behaviors\CyrillicSlugBehavior::className()
            //'attribute' => 'title'
            //'slugAttribute' => 'slug',
        ]
    ];
}