Search by

konradmichalik / typo3-dump-server

konradmichalik

This extension brings the Symfony Var Dump Server to TYPO3.

Package info

github.com/konradmichalik/typo3-dump-server

Type:typo3-cms-extension

pkg:composer/konradmichalik/typo3-dump-server

Statistics

Installs: 12

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 1

1.0.0 2026-09-18 09:54 UTC

README

Extension icon

TYPO3 extension typo3_dump_server

Latest Stable Version TYPO3 Coverage CGL Tests License

This extension brings the Symfony Var Dump Server to TYPO3.

Note

This package is an alternative approach to the default TYPO3 debugging methods or the universal use of xdebug.

The dump server gathers all dump call outputs, e.g. for preventing interference with HTTP or API responses.

Console Command

✨ Features

  • Dump server collecting dump() output outside the HTTP/API response
  • IDE deep links — click a source path to open it in your editor
  • Output formatscli, html, and json (NDJSON), including AI-agent consumption
  • PSR-14 events — react to dumps programmatically
  • Extension configuration — suppress frontend output when no server is running

🔥 Installation

Requirements

  • TYPO3 >= 11.5
  • PHP 8.2+

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).

🚀 Quick start

Start the dump server, then call dump() anywhere in your TYPO3 code. Output appears in the terminal instead of the frontend response.

vendor/bin/typo3 server:dump
dump($variable);

Console Command

Warning

The dump server protocol is unauthenticated and unencrypted, and dumps often contain sensitive data (credentials, session data, personal data). Keep the server bound to a loopback address (127.0.0.1) — never expose it via 0.0.0.0 or a public interface. Install the extension as a dev dependency (composer require --dev), and make sure production deployments run composer install --no-dev (or an equivalent process that excludes dev dependencies) so it is not deployed to production systems.

⚡ Usage

Screencast

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.

TYPO3 context

The dump server automatically displays the TYPO3 version and application context (e.g. Development, Production) alongside each dump output.

Dump function

Use the dump function in your code:

dump($variable);

// or

\Symfony\Component\VarDumper::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>

📚 Documentation

Page What's inside
Output formats cli, html, and json (NDJSON) output, plus the file sink for reading dumps without a running server, so agents can consume them
IDE deep links Clickable source links in dump output, built-in IDEs and custom URL patterns
Extension configuration Suppressing frontend dump output when no server is running
Events Handling dumps programmatically via the PSR-14 DumpEvent
Development & feature testing Manual QA checklist for contributors, covering every feature above

🧑‍💻 Contributing

Please have a look at CONTRIBUTING.md.

💎 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).