2017-25 © Pedro Peláez
 

project feedback-bundle

Symfony 3 bundle for user feedback

image

he8us/feedback-bundle

Symfony 3 bundle for user feedback

  • Monday, October 24, 2016
  • by he8us
  • Repository
  • 1 Watchers
  • 1 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

FeedbackBundle

Scrutinizer Code Quality Build Status, (*1)

FeedbackBundle for Symfony 3, (*2)

Based on bulutyazilim/FeedbackBundle but heavily modified to follow Symfony3 code style and best-practices, (*3)

Installation

Step 1

Require the package, (*4)

composer require "he8us/feedback-bundle"

Step 2

add this those lines to your app/AppKernel.php file, (*5)

<?php

// app/AppKernel.php

// ...

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            // We depends on this bundle so you need to require it
            new \Gregwar\CaptchaBundle\GregwarCaptchaBundle(),
            new He8us\FeedbackBundle\He8usFeedbackBundle(),
        );

        // ...
    }

    // ...
}

Step 3

import routing, (*6)

# We depends on this bundle so you need to require it's routes
captcha:
    resource: "@GregwarCaptchaBundle/Resources/config/routing/routing.yml"
    prefix: /

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

Step 4

add configurations to app/config.yml Do not forget to define your base view, (*7)

gregwar_captcha: ~

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

Step 5

add CSS and Javascript files to your layout., (*8)

    <!-- Add the CSS in the <head></head> of your template
    <link rel="stylesheet" href="{{ asset("bundles/he8usfeedback/css/feedback.css") }}"/>
</head>
    
    <script src="{{ asset('bundles/he8usfeedback/js/feedback.js') }}"></script>
    <script src="{{ asset('bundles/he8usfeedback/js/admin.js') }}"></script>
    <script src="{{ asset('bundles/he8usfeedback/js/html2canvas.min.js') }}"></script>

</body>

Step 6

Set some categories, (*9)

step 7

add following before </body> in your twig file, (*10)

{{ feedback_widget()|raw }}

The Versions

24/10 2016

dev-develop

dev-develop

Symfony 3 bundle for user feedback

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony feedback

24/10 2016

dev-master

9999999-dev

Symfony 3 bundle for user feedback

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony feedback

24/10 2016

1.0.1

1.0.1.0

Symfony 3 bundle for user feedback

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony feedback

23/10 2016

1.0.0

1.0.0.0

Symfony bundle for user feedback

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony feedback