julian-b90/yii2-seomanager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

julian-b90/yii2-seomanager

最新稳定版本:0.0.6.1

Composer 安装命令:

composer require julian-b90/yii2-seomanager

包简介

Seo Manager for every Site

README 文档

README

Seo Manager

Seo Manager for every Site

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist julian-b90/yii2-seomanager "*"

or add

"julian-b90/yii2-seomanager": "*"

to the require section of your composer.json file.

###Migration

Run the following command in Terminal for database migration:

Linux/Unix:

yii migrate/up --migrationPath=@vendor/julian-b90/yii2-seomanager/migrations

Windows:

yii.bat migrate/up --migrationPath=@vendor/julian-b90/yii2-seomanager/migrations

Usage

Overrite Controller

use julianb90\seomanager\component\Controller;

class SiteController extends Controller
{

}

Ad to modules

    'modules' => [
        'seomanager' => [
            'class' => 'julianb90\seomanager\Module',
        ],
    ]

for example http://localhost.local/seomanager/seomanager/index.html

content

To get content to every page you can use in the seomanger the content field. To print out the content you must you this in your view.

<?php
/** @var Module $module */
$module = Yii::$app->getModule('seomanager');
$conten = $module->getContent();

if ($conten !== null): ?>
    <div class="container">
        <?= $conten; ?>
    </div>
<?php endif; ?>

统计信息

  • 总下载量: 466
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 6
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固