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

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

callabra/debug
==============

wrapper for debugging tools

v0.1.8(4mo ago)05.5k↑66.7%MITPHPPHP &gt;=8.0

Since Aug 28Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Callabra/debug)[ Packagist](https://packagist.org/packages/callabra/debug)[ Docs](https://www.callabra.com)[ RSS](/packages/callabra-debug/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (2)Versions (10)Used By (0)

Debug
=====

[](#debug)

Wrapper for interacting for various debug and logging tools.
------------------------------------------------------------

[](#wrapper-for-interacting-for-various-debug-and-logging-tools)

First add environmental variables defining which debug channels you would like to use.

> SetEnv DEBUG\_ERROR\_CHANNELS FirePHP,File,Pushover
> SetEnv DEBUG\_WARNING\_CHANNELS FirePHP
> SetEnv DEBUG\_INFO\_CHANNELS FirePHP,File

Then call like so

> \\Debug\\Log::error("message",$value);
> \\Debug\\Log::warn("message",$value);
> \\Debug\\Log::info("message",$value);

Each channel you defined in the environment variables will then output your data.

If you are using log files you will need to set the default path like this.

> SetEnv DEBUG\_FILE\_PATH /var/www/logs/

Currently channels are as follows:

- File - logs to files. default directory /var/www/logs
- Console - prints to browser console - f12 key
- ChromePHP - browser plug-in -
- FirePHP - browser plug-in -
- Pushover - app for phones -
- Rollbar - error logging service -

You can call each channel directly as well by calling the class directly instead of the Log class.

For example...

> \\Debug\\File::error("message",$value);

> \\Debug\\FirePHP::error("message",$value);

Calling the channel directly still requires the channel to be present in the environmental channels variable (DEBUG\_ERROR\_CHANNELS, etc). This allows you to use one channel for development without the need to remove the calls when pushing to production. (e.g. Call FirePHP directly and know it will do nothing in production because that isn't an allowed channel in that environment)

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance75

Regular maintenance activity

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Every ~158 days

Recently: every ~251 days

Total

9

Last Release

138d ago

### Community

Maintainers

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

---

Top Contributors

[![tylermothershead](https://avatars.githubusercontent.com/u/2000758?v=4)](https://github.com/tylermothershead "tylermothershead (28 commits)")

### Embed Badge

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

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)

PHPackages © 2026

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