PHPackages                             ob-ivan/sd-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. ob-ivan/sd-debug

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

ob-ivan/sd-debug
================

v1.1(8y ago)09292PHP

Since Feb 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ob-ivan/sd-debug)[ Packagist](https://packagist.org/packages/ob-ivan/sd-debug)[ RSS](/packages/ob-ivan-sd-debug/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (3)Used By (2)

Installation
============

[](#installation)

```
composer require ob-ivan/sd-debug
```

Usage
=====

[](#usage)

```
// Enable or disable depending on your environment
debug()->enable(isset($_GET['debug']));

// Only print/log if debug is enabled
debug()->pre('ids', $ids);
debug()->log('ids', $ids);

// Always print/log
debug(true)->log('ids', $ids);
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~0 days

Total

2

Last Release

3010d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16bf08194a92f7509a08dfffd03540b37680b368041f74a5c4f82788cace2037?d=identicon)[ob-ivan](/maintainers/ob-ivan)

---

Top Contributors

[![ob-ivan](https://avatars.githubusercontent.com/u/1832804?v=4)](https://github.com/ob-ivan "ob-ivan (1 commits)")

### Embed Badge

![Health badge](/badges/ob-ivan-sd-debug/health.svg)

```
[![Health](https://phpackages.com/badges/ob-ivan-sd-debug/health.svg)](https://phpackages.com/packages/ob-ivan-sd-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)[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)
