PHPackages                             rusadrako/debug - 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. rusadrako/debug

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

rusadrako/debug
===============

DEBUG

0.3.4(1y ago)027MITPHPPHP &gt;=7.0.0

Since Dec 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/RusaDrako/debug)[ Packagist](https://packagist.org/packages/rusadrako/debug)[ RSS](/packages/rusadrako-debug/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (8)Used By (0)

Debug
=====

[](#debug)

[![Version](https://camo.githubusercontent.com/b39b2035956240e0a93529e39f025ea8d7d133931117c5ff1731e3d157647892/687474703a2f2f706f7365722e707567782e6f72672f727573616472616b6f2f64656275672f76657273696f6e)](https://packagist.org/packages/rusadrako/debug)[![Total Downloads](https://camo.githubusercontent.com/3286cc519fbf9a58054bd5da1c43c2a22cea44371ce96f18123c281b8eb47337/687474703a2f2f706f7365722e707567782e6f72672f727573616472616b6f2f64656275672f646f776e6c6f616473)](https://packagist.org/packages/rusadrako/debug/stats)[![License](https://camo.githubusercontent.com/c94264e51b4f0775d4c0c929a0a8de12373c669a4118b426d8e8ae10ab7e7ee8/687474703a2f2f706f7365722e707567782e6f72672f727573616472616b6f2f64656275672f6c6963656e7365)](./LICENSE)

Вывод данных при откладке

Установка (composer)
--------------------

[](#установка-composer)

```
composer require 'rusadrako/debug'
```

Установка (manual)
------------------

[](#установка-manual)

- Скачать и распоковать библиотеку.
- Добавить в код инструкцию:

```
require_once('/debug/src/autoload.php')
```

Функции вывода данных
---------------------

[](#функции-вывода-данных)

```
use RusaDrako\debug\DebugExpansion;

/** Вывод блока данных с добавлением backtrace (html) */
print_info($data, $title, $view);
// или
DebugExpansion::info($data, $title, $view);

/** Вывод блока данных с добавлением backtrace (console) */
print_info_app($data, $title, $view);
// или
DebugExpansion::info_app($data, $title, $view);

/** Вывод блока данных в формате var_dump с добавлением backtrace (html) */
print_dump($data, $title, $view);
// или
DebugExpansion::dump($data, $title, $view);

/** Вывод табличного массива с добавлением backtrace */
print_table($data, $title, $view);
// или
DebugExpansion::table($data, $title, $view);

/** Вывод древовидного массива/объекта с добавлением backtrace */
print_tree($data, $title, $view);
// или
DebugExpansion::tree($data, $title, $view);

/** Стилизованное сообщение */
print_style($style, $data, $title, $view);
// или
DebugExpansion::style($style, $data, $title, $view);
```

- **$data** - Содержимое блока
- **$title** - Заголовок блока (по умолчанию null)
- **$view** - Показать блок (по умолчанию true)
- **$style** - Стиль формы

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Every ~39 days

Recently: every ~58 days

Total

7

Last Release

655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfa89c28184b3c77d819628f24225e78de8e969601e1ff1066a5f4bf5b46491d?d=identicon)[RusaDrako](/maintainers/RusaDrako)

---

Top Contributors

[![RusaDrako](https://avatars.githubusercontent.com/u/32844979?v=4)](https://github.com/RusaDrako "RusaDrako (32 commits)")

### Embed Badge

![Health badge](/badges/rusadrako-debug/health.svg)

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

###  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)[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)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

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