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

AbandonedArchivedMicrophork-package

microphork/package-debug
========================

A simple debugging package for the microphork framework

01601PHP

Since Mar 14Pushed 7y agoCompare

[ Source](https://github.com/phork/microphork-package-debug)[ Packagist](https://packagist.org/packages/microphork/package-debug)[ RSS](/packages/microphork-package-debug/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

Introduction
------------

[](#introduction)

This is a simple debugging package for the microphork framework. The debug class is a dispatcher. The `display` handler outputs the debugging data and the `log` handler logs it to a file.

To extend this package create a `\Phork\App\Debug` class in the `app/classes` folder and an `app/config/debug.php` file to define the active handler(s).

Usage
-----

[](#usage)

```
//load and initialize a new debug package
$class = \Phork::instance()->initPackage('Debug');
$debug = new $class();

//get the loaded config
$config = \Phork::config()->get('debug');

//initialize the debug handler
if ($config->handlers && $handlers = $config->handlers->export()) {
    $debug->init($handlers);
}

//send some debugging data
$debug->log('this', 'will', 'be', 'concatenated');

```

Credits
-------

[](#credits)

Built by [Elenor](http://elenor.net) at [Phork Labs](http://phork.org).

License
-------

[](#license)

Licensed under The MIT License

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ff9fea307bad4262b9c3f9e518303cfeb600841b8bd0adcf8a64a64889e99f3?d=identicon)[elenor](/maintainers/elenor)

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

---

Top Contributors

[![e1en0r](https://avatars.githubusercontent.com/u/196027?v=4)](https://github.com/e1en0r "e1en0r (13 commits)")

### Embed Badge

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

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

PHPackages © 2026

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