Download the PHP package itk-dev/tidy-feedback without Composer
On this page you can find all versions of the php package itk-dev/tidy-feedback. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package tidy-feedback
Tidy feedback
This is a Drupal module and a Symfony bundle to collection user feedback.
[!CAUTION] The documentation is incomplete!
Installation
[!IMPORTANT] You may have to add
--with-all-dependencies
to thecomposer require
command to make everything fall into place.
Drupal
Symfony
Create config/routes/tidy_feedback.yaml
(or copy
resources/config/routes/tidy_feedback.yaml
):
[!NOTE] You can use any path as
prefix
, but for consistency with the Drupal version of Tidy feedback you should use/tidy-feedback
.
If Symfony Flex hasn't already done so, you must enable the TidyFeedbackBundle bundle:
Configuration
We need a Doctrine database
URL
in the environment variable TIDY_FEEDBACK_DATABASE_URL
, e.g.
As an alternative for Drupal you can set TIDY_FEEDBACK_DATABASE_URL
in settings.local.php
:
TIDY_FEEDBACK_USERS='{"admin": "password"}'
After installation and configuration, open /tidy-feedback/test
on your site and enjoy!
All feedback items can be found on /tidy-feedback
.
Development
composer.json
In order to make this behave as both a Drupal module and a Synfony bundle, we use some tricks in
composer.json
:
Twig
We use a watered-down instance of Twig with only a trans
filter and a path
function.
Development app
For development, you can start a Symfony app with Tidy feedback installed:
Run task app:stop
to stop the app.
[!TIP] Use
tidy-feedback-show=form
in the query string, e.g./tidy-feedback/test?tidy-feedback-show=form
, to automatically show the feedback form when loading a page.Add default form values in
tidy-feedback
, e.g.
All versions of tidy-feedback with dependencies
doctrine/orm Version ^2.8 || ^3
symfony/cache Version ^6 || ^7
symfony/http-kernel Version ^6 || ^7
twig/twig Version ^3