Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

pleasereachmeoutonmoeinxyz/yii2-seo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()
            ]
        ];
    }
}

About

Simple way to modify SEO parameters for each entity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages