定制 ibrows/simple-seo-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ibrows/simple-seo-bundle

最新稳定版本:1.9.2

Composer 安装命令:

composer require ibrows/simple-seo-bundle

包简介

A Symfony2 Bundle to add some SEO functionality

README 文档

README

The IbrowsSimpleSeoBundle supports to add an for every route within additional path requirements and supports to add any metaTags to any path

Install & setup the bundle

  1. Fetch the source code

    $ php composer.phar require ibrows/simple-seo-bundle 

    Composer will install the bundle to your project's ibrows/simple-seo-bundle directory.

  2. Add the bundle to your AppKernel class

    // app/AppKernerl.php
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Ibrows\SimpleSeoBundle\IbrowsSimpleSeoBundle(),
            // ...
        );
        // ...
    }
  3. Add routing

    // app/config/routing.yml
    
    SimpleSeoBundle:
        resource: .
        type:     ibrows_router
        prefix:   /
    
  4. Generate Schema

    php app/console doctrine:schema:update  --force
    

Minimal configuration

This bundle requires Nothing !

Additional configuration

Edit default config

ibrows_simple_seo:
    entity_class: Ibrows\SimpleSeoBundle\Entity\MetaTagContent
    localized_alias: true
    add_query_string: false
    admin:
        allow_create: true
    alias:
        maxLength: 100
        separatorUnique: '-'
        separator: /
        notAllowedCharsPattern: '![^-a-z0-9_\/]+!'
        sortOrder: {  }

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-01