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(6mo ago)05.6k↑59.4%MITPHPPHP &gt;=8.0

Since Aug 28Pushed 6mo 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 2w ago

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

39

—

LowBetter than 84% of packages

Maintenance68

Regular maintenance activity

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

184d 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.7k39.6k](/packages/matomo-matomo)[craftcms/cms

Craft CMS

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

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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