2017 © Pedro Peláez
 

yii2-extension yii2-seo

A full SEO manament system for Yii2.

image

linchpinstudios/yii2-seo

A full SEO manament system for Yii2.

  • Thursday, December 11, 2014
  • by linchpin
  • Repository
  • 4 Watchers
  • 5 Stars
  • 144 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Yii2 SEO Management

A full SEO manament system for Yii2., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist linchpinstudios/yii2-seo "*"

or add, (*4)

"linchpinstudios/yii2-seo": "*"

to the require section of your composer.json file., (*5)

3) Run Migrations

For Blog, (*6)

./yii migrate/up --migrationPath=@vendor/linchpinstudios/yii2-seo/migrations

Usage

Setup beforeAction in controllers you want to use SEO, (*7)

public function beforeAction($action) { if (parent::beforeAction($action)) { $seoMetaTags = New \linchpinstudios\seo\models\Seo; $seoMetaTags->run(); return true; // or false if needed } else { return false; } }, (*8)

To access the module, you need to add this to your application configuration:, (*9)

<?php ...... 'modules' => [ 'seo' => [ 'class' => 'linchpinstudios\seo\Module', ], ], ......, (*10)

The Versions

11/12 2014

dev-master

9999999-dev

A full SEO manament system for Yii2.

  Sources   Download

MIT

The Requires

 

by Josh Hagel

extension yii2 search engine seo optimization