[READY] \yii\behaviors\SluggableBehavior

Usage:

```php
class Post extends ActiveRecord
{
    public function behaviors() {
        return [
            [
                'class' => Sluggable::className(),
                // use this
                'attribute' => 'title',
                // or this to customize
                // 'value' => function ($event) {
                //     return Inflector::slug($this->title);
                // },
            ],
        ];
    }
}
```
@cebe Ofcourse slug should be generate before validation if you want bulletproof models. For example title validation sometimes rely on slug result. For example use try to use title "-" or " - - ".

No need bulletproof  models? Use before save )