move-elevator / typo3-toolbox
A TYPO3 toolbox so handy, it makes even missing plugins feel insecure.
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ^8.4
- typo3/cms-backend: ^13.4
- typo3/cms-core: ^13.4
- typo3/cms-fluid: ^13.4
- typo3/cms-frontend: ^13.4
This package is auto-updated.
Last update: 2025-07-17 15:01:15 UTC
README
TYPO3 extension typo3_toolbox
This extension provides several tools for TYPO3 integrators and developers.
Features:
- Adds an event listener to minify HTML output
- Adds an event listener to add save and close button
- Adds a xClass for TYPO3 asset collector which will automatically render
noscript
tags beside CSS link tags, which can be adopted to optimize CSS preloading (see: https://web.dev/articles/defer-non-critical-css) - Adds a view helper which can return the uid of the first content element on a page X
- Adds a sentry middleware and frontend module ...
Requirements
- PHP 8.4
- TYPO3 13.4
Installation
Composer
composer require move-elevator/typo3-toolbox
Configuration
Sentry
Add the following environment variables to your .env
file to configure Sentry:
SENTRY_DSN='' SENTRY_ENVIRONMENT='' SENTRY_RELEASE=''
If you want to use the Sentry frontend monitoring as well, you can use the shipped Sentry Monitoring Service JavaScript or just adopt this.
For example:
<f:asset.script
defer="1"
identifier="sentryMonitoringService"
nonce="{f:security.nonce()}"
priority="1"
src="EXT:typo3-toolbox/Resources/Public/JavaScript/Service/SentryMonitoringService.min.js"
/>
Sentry monitoring is enabled by default for frontend and backend issue/ performance tracking, but can be disabled via the extension configuration if required.
Disable backend issue tracking:
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['typo3-toolbox']['sentryBackendEnabled'] = 0;
Disable frontend issue/ performance tracking:
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['typo3-toolbox']['sentryFrontendEnabled'] = 0;
Documentation
Middlewares
Middleware | Path/ Parameter | Description |
---|---|---|
SentryMiddleware | /api/sentry | Returns sentry environment data as json which is consumed in the frontend. |
License
This project is licensed under GNU General Public License 2.0 (or later).