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
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-12-21 21:52:43 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.