<commit_before># Yii2 slug behavior

[Yii2](http://www.yiiframework.com) slug behavior

## Installation

### Composer

The preferred way to install this extension is through [Composer](http://getcomposer.org/).

Either run ```php composer.phar require zelenin/yii2-slug-behavior "~1.5.0"```

or add ```"zelenin/yii2-slug-behavior": "~1.5.0"``` to the require section of your ```composer.json```

### Using

Attach the behavior in your model:<commit_msg>change readme<commit_after># Yii2 slug behavior

[Yii2](http://www.yiiframework.com) slug behavior

## Installation

### Composer

The preferred way to install this extension is through [Composer](http://getcomposer.org/).

Either run ```php composer.phar require zelenin/yii2-slug-behavior "~1.5.1"```

or add ```"zelenin/yii2-slug-behavior": "~1.5.1"``` to the require section of your ```composer.json```

### Using

Attach the behavior in your model:
{'fraction_non_alphanumeric': 0.15673289183222958, 'fraction_numerical': 0.02207505518763797, 'mean_word_length': 4.967105263157895, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5651225', 'n_tokens_mistral': 321, 'n_tokens_neox': 308, 'n_words': 88}