konradmichalik/typo3-dump-server

This extension brings the Symfony Var Dump Server to TYPO3.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

0.2.0 2025-04-17 11:22 UTC

This package is auto-updated.

Last update: 2025-05-17 11:30:45 UTC


README

Extension icon

TYPO3 extension typo3_dump_server

Latest Stable Version Supported TYPO3 versions License

This extension brings the Symfony Var Dump Server to TYPO3.

This package provides a dump server that gathers all dump call outputs, preventing interference with HTTP or API responses.

Console Command

Requirements

  • TYPO3 >= 11.5 & PHP 8.1+

Installation

Composer

Packagist Packagist Downloads

composer require --dev konradmichalik/typo3-dump-server

TER

TER version TER downloads

Download the zip file from TYPO3 extension repository (TER).

Usage

Screencast

Console command

Start the dump server with the following command:

vendor/bin/typo3 server:dump

Console Command

Use the format option to change the output format to html:

vendor/bin/typo3 server:dump --format=html > dump.html

Note

The dump server will be available at tcp://127.0.0.1:9912 by default. Use the environment variable TYPO3_DUMP_SERVER_HOST to change the host.

Dump

Use the dump function in your code:

dump($variable);

ViewHelper

Use the symfony:dump ViewHelper in your Fluid templates:

<html xmlns:symfony="http://typo3.org/ns/KonradMichalik/Typo3DumpServer/ViewHelpers">

<symfony:dump>{variable}</symfony:dump>

Extension settings

By default, a dump() call will add something like the following output to the frontend if the dump server isn't running:

Dump output in frontend

You can suppress this output with the suppressDump setting in the extension configuration. If this setting is enabled, the output will be suppressed and the dump will only be sent to the dump server.

You can find the extension settings in the TYPO3 backend under Admin Tools > Settings > Extension Configuration > typo3_dump_server.

Development

Use the following ddev command to easily install all supported TYPO3 versions for locale development.

$ ddev install all

Credits

This project is highly inspired by the laravel-dump-server & the symfony var-dumper component itself.

License

This project is licensed under GNU General Public License 2.0 (or later).