PHPackages                             crazy-max/cws-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. crazy-max/cws-debug

AbandonedArchivedLibrary[Logging &amp; Monitoring](/categories/logging)

crazy-max/cws-debug
===================

PHP class to output additional messages for debug.

1.11.2(6y ago)321.0k↓44.3%110MITPHPPHP &gt;=5.3.0

Since Nov 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/crazy-max/CwsDebug)[ Packagist](https://packagist.org/packages/crazy-max/cws-debug)[ Docs](https://github.com/crazy-max/CwsDebug)[ RSS](/packages/crazy-max-cws-debug/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (1)Versions (8)Used By (10)

[![Latest Stable Version](https://camo.githubusercontent.com/fa8aefb1d79f3b0ba715f098d9fee823c1ba964b2b66476182c0cc804cb73abb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6372617a792d6d61782f6377732d64656275672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/crazy-max/cws-debug)[![Minimum PHP Version](https://camo.githubusercontent.com/55453b8aba1f0d2c449c2dfa58e6debd503f9d637d2e474960cea8c266371e2f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e332e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Build Status](https://camo.githubusercontent.com/33ee7e3ba08fd196db68dbc7cccdd616e5f40c58cb1622709219ef9eaf15cf4f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f6372617a792d6d61782f43777344656275672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/crazy-max/CwsDebug)[![Code Quality](https://camo.githubusercontent.com/dd10a53abc6b32926c81f231f7c5ad5a981455c61d613db9c3471831c2fa7d59/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f63636535343534333065636634303636393832373133626466393164353965312e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/crazy-max/CwsDebug)[![Become a sponsor](https://camo.githubusercontent.com/2b64183536d3742cfdfdbe2a16c7a26ae05e6a3db44e513ff73defdeed344cc1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f722d6372617a792d2d6d61782d3138313731372e7376673f6c6f676f3d676974687562267374796c653d666c61742d737175617265)](https://github.com/sponsors/crazy-max)[![Donate Paypal](https://camo.githubusercontent.com/86518966c73798ed1c862566d92cd4cdd48152e30ab7f42fb7d5138138231d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d70617970616c2d3030343537632e7376673f6c6f676f3d70617970616c267374796c653d666c61742d737175617265)](https://www.paypal.me/crazyws)

⚠️ Abandoned project
--------------------

[](#warning-abandoned-project)

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

Thanks to everyone for their valuable feedback and contributions.

About
-----

[](#about)

PHP class to output additional messages for debug.

Installation
------------

[](#installation)

```
composer require crazy-max/cws-debug
```

And download the code:

```
composer install # or update
```

Getting started
---------------

[](#getting-started)

See `tests/test.php` file sample to help you.

Example
-------

[](#example)

[![](.res/example.png)](.res/example.png)

Methods
-------

[](#methods)

**simple** - Output a message.
**error** - Output error message.
**dump** - Output a variable dump.
**labelValue** - Output a value associated to a label.
**titleH1** - Output title H1.
**titleH2** - Output title H2.
**titleH3** - Output title H3.

**isQuietVerbose** - Check if verbose is quiet
**setQuietVerbose** - Quiet verbose output : no output at all (default)
**isSimpleVerbose** - Check if verbose is simple
**setSimpleVerbose** - Simple verbose output : only output simple report
**isReportVerbose** - Check if verbose is report
**setReportVerbose** - Report verbose output : output a detail report
**isDebugVerbose** - Check if verbose is debug
**setDebugVerbose** - Debug verbose output : output detail report as well as debug info
**setEchoMode** - Echo output mode (default)
**setFileMode** - File output mode

How can I help ?
----------------

[](#how-can-i-help-)

All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) 👏 or by making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! 🚀

Thanks again for your support, it is much appreciated! 🙏

License
-------

[](#license)

MIT. See `LICENSE` for more details.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% 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 ~239 days

Recently: every ~289 days

Total

7

Last Release

2443d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2ac50dd173150fc9339728d7b2b1c872b6853111b20e4569844e215f644f632?d=identicon)[crazy-max](/maintainers/crazy-max)

---

Top Contributors

[![crazy-max](https://avatars.githubusercontent.com/u/1951866?v=4)](https://github.com/crazy-max "crazy-max (18 commits)")[![fpiccinali](https://avatars.githubusercontent.com/u/9351145?v=4)](https://github.com/fpiccinali "fpiccinali (1 commits)")

---

Tags

debugphpverboselogdebugprint

### Embed Badge

![Health badge](/badges/crazy-max-cws-debug/health.svg)

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

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3511.6M24](/packages/analog-analog)[inpsyde/wonolog

Monolog-based logging package for WordPress.

184637.3k7](/packages/inpsyde-wonolog)[baibaratsky/yii2-rollbar

Rollbar for Yii2

36133.0k](/packages/baibaratsky-yii2-rollbar)[snapshotpl/zf-snap-php-debug-bar

PHP Debug Bar module for Zend Framework 2

3026.1k](/packages/snapshotpl-zf-snap-php-debug-bar)

PHPackages © 2026

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