PHPackages                             mouf/utils.constants.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. mouf/utils.constants.debug

ActiveMouf-library[Debugging &amp; Profiling](/categories/debugging)

mouf/utils.constants.debug
==========================

This package contains a simple installer for Mouf that will create a constant 'DEBUG' in your project and initialize it to true. Useful for packages supporting a 'debug' mode.

v1.0.0(11y ago)0364.9k↓33.3%4MITPHPPHP &gt;=5.3.0

Since Jun 16Pushed 10y ago12 watchersCompare

[ Source](https://github.com/thecodingmachine/utils.constants.debug)[ Packagist](https://packagist.org/packages/mouf/utils.constants.debug)[ Docs](http://mouf-php.com/packages/mouf/utils.constants.debug)[ RSS](/packages/mouf-utilsconstantsdebug/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (4)

What is this package
====================

[](#what-is-this-package)

Many packages need the project hosting them to have a "DEBUG" setting. Those packages can act differently whether the DEBUG setting is set or not. For instance, a package could decide to enable or disable the cache based on this setting, or a package could display detailed exception backtrace if debug is enabled.

This package contains a Mouf installer that will create a `DEBUG` constant in your `config.php` and initialize it to true.

Mouf package
------------

[](#mouf-package)

This package is part of Mouf (), an effort to ensure good developing practices by providing a graphical dependency injection framework.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity58

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

Total

2

Last Release

4355d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (2 commits)")

---

Tags

debugmoufconstant

### Embed Badge

![Health badge](/badges/mouf-utilsconstantsdebug/health.svg)

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

###  Alternatives

[symfony/var-dumper

Provides mechanisms for walking through any arbitrary PHP variable

7.4k855.5M8.0k](/packages/symfony-var-dumper)[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.2k124.3M624](/packages/barryvdh-laravel-debugbar)[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k21.3M40](/packages/php-debugbar-php-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[kint-php/kint

Kint - Advanced PHP dumper

2.8k19.3M283](/packages/kint-php-kint)[tracy/tracy

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

1.8k24.4M1.3k](/packages/tracy-tracy)

PHPackages © 2026

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