Developed with love by KnpLabs Hire us for your project!
23

FeedbackBundle

by bulutyazilim

:speech_balloon: FeedbackBundle for Symfony 2

FeedbackBundle

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
<?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
yml
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 }}

The MIT License (MIT)

Copyright (c) 2016 Bulut Yazilim

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

  • Update composer.json
    By web-flow, 3 years ago
  • bump version
    By web-flow, 3 years ago
  • send mail on new feedback submission if necessary params exists
    By behram, 3 years ago
  • minor ui corrections :art: , translation addition, revise templates fully use forms beside messy html
    By behram, 3 years ago
  • expose annotation based :bug: fix
    By behram, 3 years ago
  • use feedback form beside raw html, revise controller according to this logic
    By behram, 3 years ago
  • revise feedback twig extension fully, certainly do not use conteiner as depen.
    By behram, 3 years ago
  • add captcha bundle as dependency
    By behram, 3 years ago
  • create feedback entity __toString function
    By behram, 3 years ago
  • change license
    By İsmail BASKIN, 3 years ago
  • change package name
    By İsmail BASKIN, 3 years ago
  • remove unused & deprecated parameter
    By İsmail BASKIN, 3 years ago
  • fix phpdoc
    By İsmail BASKIN, 3 years ago
  • add missing form element title
    By İsmail BASKIN, 3 years ago
  • change vendor name
    By İsmail BASKIN, 3 years ago
  • remove user specific ignores
    By İsmail BASKIN, 3 years ago
  • remove unused configuration class
    By İsmail BASKIN, 3 years ago
  • remove not working reply button
    By behram, 3 years ago
  • namespace corrections part 2
    By behram, 3 years ago
  • namespace corrections
    By behram, 3 years ago
  • Rename OkulbilisimFeedbackExtension.php to OkulBilisimFeedbackExtension.php
    By behram, 3 years ago
  • Rename OkulbilisimFeedbackBundle.php to OkulBilisimFeedbackBundle.php
    By behram, 3 years ago
  • typo correction
    By behram, 3 years ago
  • namespace corrections
    By behram, 3 years ago
  • autoload namespace correction
    By behram, 3 years ago
  • admin screenshot image sizes ui fixes #22
    By behram, 3 years ago
  • no need for sub folders
    By behram, 3 years ago
  • annotation yaml correction
    By hmert, 3 years ago
  • Update composer.json
    By hmert, 3 years ago
  • Merge pull request #21 from amcastror/master
    By utkuaydin, 3 years ago