humanized/yii2-seo-page

Yii2 module providing several seo-optimised database driven page abstraction

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Type:yii2-extension

dev-master 2016-12-09 20:39 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:35:38 UTC


README

A module providing some strategies for managing SEO-minded webpages using database storage

Installation

Install Using Composer

The preferred way to install this extension is through composer.

Either run

$ php composer.phar require humanized/yii2-seopage "*"

or add

"humanized/yii2-seopage": "*"

to the require section of your composer.json file.

Run Migrations

$ php yii migrate/up --migrationPath=@vendor/humanized/yii2-seo-page/migrations

Edit Configuration File

Add following lines to the configuration file:

'modules' => [
    'page' => [
        'class' => 'humanized\seopage\Module',
    ],
],

Adding these lines allows access to the various interfaces provided by the module. Here, the chosen module-name is seopage, as such the various routes will be available at page/controller-id/action-id, though any module-name can be chosen.