moein7tl/yii2-seo This package makes seo optimization more simple

yii2-seo

This package helps you to implement seo params for entities in your project easier

Installation

php composer.phar require "moein7tl/yii2-seo:dev-master" 

or add

"moein7tl/yii2-seo": "dev-master,

Use Seo behavior and trait in each models which needs seo, e.g: post

class Post extends ActiveRecord
{
    use SeoTrait;

    /**
     * @return array
     */
    public function behaviors()
    {
        return [
            [
                'class'     =>  SeoBehavior::className()
            ]
        ];
    }
}

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
16 total downloads