PHPackages                             leonardoca/tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. leonardoca/tools

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

leonardoca/tools
================

LeonardoCA tools for nette debugging

11691PHP

Since Mar 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/LeonardoCA/Tools)[ Packagist](https://packagist.org/packages/leonardoca/tools)[ RSS](/packages/leonardoca-tools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

LeonardoCA/Tools [![Build Status](https://camo.githubusercontent.com/00cc676dc1ffa8d5f23b593363ff867731e7d55ac0c9cb3cd7856e91a9d81b74/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4c656f6e6172646f43412f546f6f6c732e706e67)](https://travis-ci.org/LeonardoCA/Tools.svg)
======================================================================================================================================================================================================================================================================================

[](#leonardocatools-)

Various tools for debugging nette applications:

- SmartDump
- htmlDump
- ProcessMonitor
- DumpMailer

Installation
------------

[](#installation)

The best way to install LeonardoCA/Tools is using Composer:

```
composer require leonardoca/tools:@dev
```

Configure extension in config.ini
---------------------------------

[](#configure-extension-in-configini)

```
extensions:
	smartDump: LeonardoCA\Tools\DI\SmartDumpExtension
smartDump:
	traceMode: 2  #false|number|all
```

Usage
-----

[](#usage)

### Fast smart dump to Tracy Bar Panel

[](#fast-smart-dump-to-tracy-bar-panel)

```
	SmartDump::dump($variable);

	// shortcut
	sdump($variable);

	// add own html block to dump panel

	SmartDump::addToDumpPanel(
		'

			ABCD
			1234

		',
		'custom info'
	);

	// catching output buffering to dumps panel

	bs();
	echo "some output to browser";
	be('catch output buffering');

	// tidy formatted output

	$someXML =
		'jjj
8844';

	sdump(tidyFormatXML($someXML));

	SmartDump::addToDumpPanel(
		'' . htmlspecialchars(tidyFormatXML($someXML)) . '',
		"some XML"
	);

	// dumpHtml for fast debugging of html markup of Nette\Utils\Html or whole Controls

	$someHtmlObject =
		Nette\Utils\Html::el('a')->addClass('btn btn-danger')->setTitle(
			'Danger'
		)->setHtml('danger');

	dumpHtml($someHtmlObject);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/44d6856c10b0916d8804fe78325d2779e7bc29daa3fa6406f02fcf5cc525b483?d=identicon)[LeonardoCA](/maintainers/LeonardoCA)

---

Top Contributors

[![LeonardoCA](https://avatars.githubusercontent.com/u/552868?v=4)](https://github.com/LeonardoCA "LeonardoCA (14 commits)")

### Embed Badge

![Health badge](/badges/leonardoca-tools/health.svg)

```
[![Health](https://phpackages.com/badges/leonardoca-tools/health.svg)](https://phpackages.com/packages/leonardoca-tools)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
