定制 okulbilisim/feedback-bundle 二次开发

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

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

okulbilisim/feedback-bundle

最新稳定版本:2.0.3

Composer 安装命令:

composer create-project okulbilisim/feedback-bundle

包简介

Symfony bundle for user feedback

README 文档

README

FeedbackBundle for Symfony 2

image

##Installation

###Step 1

add

composer require --dev "bulutyazilim/feedback-bundle":"dev-master"

to require block of your composer.json

###Step 2

add this line to your app/AppKernel.php file

<?php

// app/AppKernel.php

// ...

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new BulutYazilim\FeedbackBundle\BulutYazilimFeedbackBundle(),
        );

        // ...
    }

    // ...
}

##Step 3

import routing

feedback:
    resource: "@BulutYazilimFeedbackBundle/Resources/config/routing.yml"
    prefix:   /

Step 4

add configurations to app/config.yml

# Twig Configuration    
twig:
    globals:
        admin_base_view: '::ojs_base.html.twig'

Step 5

add style and css files to your layout.

- @BulutYazilimFeedbackBundle/Resources/public/js/feedback.js
- @BulutYazilimFeedbackBundle/Resources/public/js/admin.js
- @BulutYazilimFeedbackBundle/Resources/public/css/feedback.css

Step 6

add parameters.yml following lines

feedback_categories:
        -
            id: 1
            name: "General"
        -
            id: 2
            name: "Bug Report"
        -
            id: 3
            name: "Idea"

step 7

add following before </body> in your twig file

{{ feedback_widget()|raw }}

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 8
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固