Download the PHP package straschek-io/typo3-backend-feedback without Composer

On this page you can find all versions of the php package straschek-io/typo3-backend-feedback. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package typo3-backend-feedback

backend_feedback

A toolbar button in the TYPO3 backend that lets every backend user send a short message to defined recipients — "I am missing permission XY", "this folder is locked for me". The view the user is looking at is attached automatically, so the recipient does not have to ask where it happened.

Editors rarely know which group or permission they are missing; they only know what they tried to do. With the module, page or folder and a link to the exact view in the mail, an administrator can reproduce the situation in one click and answer directly: the reporter is the Reply-To of the mail.

Runs on TYPO3 13.4 and 14.3 with PHP 8.2 to 8.5 and the PHP extensions gd and fileinfo.

Installation

The button appears for all backend users as soon as the extension is active. It does nothing useful until recipients are configured.

Configuration

Extension configuration (Admin Tools > Settings > Extension Configuration > backend_feedback):

Setting Default
recipients empty Comma separated mail addresses that receive the feedback. Without valid recipients the form shows a notice and nothing is sent.
toolbarLabel empty Text of the toolbar button and title of the modal. Empty uses the translated default "Report missing permission".
subjectPrefix empty Start of the mail subject. Empty uses the translated default "[TYPO3 permissions]".
screenshot on Lets users attach a screenshot or another image to the feedback.

A custom toolbarLabel or subjectPrefix is used as written for every backend language; the defaults are translated (English and German).

The values live in $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['backend_feedback'] and can be set there instead, for example in config/system/additional.php:

Projects that map environment variables to TYPO3_CONF_VARS can override them per environment, for example TYPO3__EXTENSIONS__backend_feedback__recipients in a .env file. The configuration is read on every request, so such overrides apply regardless of where they are set.

The sender is the system address (MAIL/defaultMailFromAddress and MAIL/defaultMailFromName).

The modal

A click on the toolbar button (speech bubble icon, next to the other toolbar items) opens a medium sized modal titled like the button:

After sending, the modal closes and a notification confirms that the administrators have been informed. If the message is empty, no recipients are configured or the mail cannot be sent, the modal stays open and a notification says why.

Screenshots

Often the quickest way to say what is missing is to show it. Below the text field the form offers three ways to attach one picture:

A preview shows what will be sent and a button removes it again. Nothing is recorded or uploaded before the user presses "Send". Pictures wider than 1920 pixels are scaled down in the browser and large ones are converted to JPEG, so uploads stay well below common PHP upload limits.

The server does not trust the browser. It accepts PNG and JPEG up to 5 MB, 4096 x 8192 pixels and 12 megapixels, checks size and dimensions before decoding, and encodes the picture again with GD. Only the pixels reach the recipients: metadata, comments and anything appended to the file are dropped. The picture is never stored on the server, and its file name is always screenshot.png or screenshot.jpg.

Screenshots can show personal or confidential data and reach every configured recipient by mail. Switch the feature off with the screenshot setting if that is not wanted.

The mail

Sent as HTML and plain text, with the reporter as Reply-To (if the backend user has a valid mail address):

The mail is written in the backend language of the reporter.

Structure

The mail templates are registered in MAIL/templateRootPaths and MAIL/layoutRootPaths under key 1710 and can be overridden with a higher key.

Development

Bootstraps a TYPO3 14.3 dev instance (DDEV required, PHP 8.4) with two pages and two example recipients. Backend: http://127.0.0.1:59011/typo3 (admin / BackendFeedback14!), sent mails: ddev mailpit.

The functional tests render the toolbar button and the form and send the mail into a mailbox file. The GitHub Actions workflow runs unit and functional tests on PHP 8.2, 8.3, 8.4 and 8.5, each against TYPO3 13.4 and 14.3.


All versions of typo3-backend-feedback with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-fileinfo Version *
ext-gd Version *
typo3/cms-backend Version ^13.4 || ^14.3
typo3/cms-core Version ^13.4 || ^14.3
typo3/cms-fluid Version ^13.4 || ^14.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package straschek-io/typo3-backend-feedback contains the following files

Loading the files please wait ...