定制 lin3s/knowledge-base-bundle 二次开发

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

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

lin3s/knowledge-base-bundle

最新稳定版本:v0.1.5

Composer 安装命令:

composer require lin3s/knowledge-base-bundle

包简介

PHP Bundle built on top of LIN3S Knowledge Base

README 文档

README

#Knowledge Base Bundle

Symfony Bundle built on top of LIN3S Knowledge Base.

SensioLabsInsight Build Status Scrutinizer Code Quality Total Downloads      Latest Stable Version Latest Unstable Version

##Installation Make sure you have composer installed in your computer.

Install the component launching the following composer command

$ composer require lin3s/knowledge-base-bundle

Install a theme for your knowledge base. We use the following at LIN3S:

$ composer require lin3s/knowledge-base-gfm-template

Add the docs in markdown format to a folder that you will later add to the config. By default this bundle will read the docs from the docs folder located in your project root path.

Add the bundle to the AppKernel.php:

$bundles = [
    (...)
    new LIN3S\KnowledgeBaseBundle\LIN3SKnowledgeBaseBundle()
];

Import required routes in your app/config/routing.yml file:

lin3s_knowledge_base:
    resource: "@LIN3SKnowledgeBaseBundle/Resources/config/routing.yml"

##Configuration reference The following options are available to add in your config.yml

lin3_s_knowledge_base:
    #### Required ####
    template: LIN3S\KnowledgeBaseGFMTemplate\Template       # Fully qualified namespace of the class extending TemplateInterface

    #### Optional (Default values shown) ####
    docs_path: %kernel.root_dir%/../docs/                   # Path where the docs are located
    build_path: %kernel.cache_dir%/lin3s_knowledge_base/    # Path to the cache
    assets_base_url: /templates                             # Url from where the template will fetch the assets

##Generating the docs Make sure you have properly added your docs folder and configured the docs_path in config.yml

$ php app/console lin3s:kb:docs:load

##Symlinking the assets The following command will dump the assets required by the template to the web folder

$ php app/console lin3s:kb:assets:install

##How it works internally For further technical and theming details check LIN3S Knowledge Base documentation.

##Licensing Options License

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固