PHPackages                             maduser/argon-whoops - 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. maduser/argon-whoops

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

maduser/argon-whoops
====================

Whoops debug error page integration for the Argon runtime stack.

v1.0.0(2mo ago)00MITPHPPHP ^8.2CI passing

Since May 25Pushed 2mo agoCompare

[ Source](https://github.com/judus/argon-whoops)[ Packagist](https://packagist.org/packages/maduser/argon-whoops)[ RSS](/packages/maduser-argon-whoops/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

argon-whoops
============

[](#argon-whoops)

[![PHP](https://camo.githubusercontent.com/ce3e396e4f1bbbd326f628872a1414656d28065f2712cda0868d8eff07320aec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322b2d626c7565)](https://www.php.net/)[![Build](https://github.com/judus/argon-whoops/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/judus/argon-whoops/actions)[![codecov](https://camo.githubusercontent.com/5092c507a4f625752b7feec7323bca319b5f994dd15125ed07d18a72cb8c41f3/68747470733a2f2f636f6465636f762e696f2f67682f6a756475732f6172676f6e2d77686f6f70732f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/judus/argon-whoops)[![Psalm Level](https://camo.githubusercontent.com/54a1937ab092f6ba05809bba6628463b63c8ff58c4c11c5c730be3bb91039e04/68747470733a2f2f73686570686572642e6465762f6769746875622f6a756475732f6172676f6e2d77686f6f70732f636f7665726167652e737667)](https://shepherd.dev/github/judus/argon-whoops)[![Latest Version](https://camo.githubusercontent.com/789d1416194e1038df3cba01398da09a075d1565bcff1edc70458c3ae994f04f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6164757365722f6172676f6e2d77686f6f70732e737667)](https://packagist.org/packages/maduser/argon-whoops)[![Total Downloads](https://camo.githubusercontent.com/911c3ace61931a99f26191661f3787dffa26f62c805b971aa33aca63104fd816/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6164757365722f6172676f6e2d77686f6f70732e7376673f636f6c6f723d626c7565)](https://packagist.org/packages/maduser/argon-whoops)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Whoops debug error page integration for the Argon runtime stack.

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

[](#installation)

```
composer require maduser/argon-whoops
```

Register
--------

[](#register)

```
use Maduser\Argon\Whoops\Provider\WhoopsServiceProvider;

$container->register(WhoopsServiceProvider::class);
```

The provider registers:

- `Maduser\Argon\Whoops\Config\WhoopsConfig`
- `Whoops\Run`
- `Maduser\Argon\Whoops\WhoopsExceptionPolicy`

`WhoopsExceptionPolicy` is tagged as an Argon exception policy.

Ordering
--------

[](#ordering)

Register this provider before your application exception policy if Whoops should win for debug HTML responses.

```
$container->register(WhoopsServiceProvider::class);
$container->set(AppExceptionPolicy::class)
    ->tag(ExceptionPolicyInterface::class);
```

Argon still owns exception dispatching and reporting. Whoops only renders an HTML debug response when enabled. If disabled, or if the request does not accept HTML, the policy returns `null` and the next Argon renderer can handle the exception.

Configuration
-------------

[](#configuration)

Whoops is disabled by default unless the container parameters indicate a local debug application:

```
$parameters->set('app.env', 'local');
$parameters->set('app.debug', true);
```

You can override this explicitly:

```
use Maduser\Argon\Whoops\Config\WhoopsParameter;

$parameters->set(WhoopsParameter::ENABLED, true);
$parameters->set(WhoopsParameter::PAGE_TITLE, 'Argon Debug Exception');
```

Only boolean values are accepted for `WhoopsParameter::ENABLED`.

Quality Gates
-------------

[](#quality-gates)

```
composer check
composer test:coverage
composer psalm
composer phpcs
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance88

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

60d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fb9da5a15010d335622bf9f465a32ef79c8d1cffcd139c2a9114736b72e2c13?d=identicon)[jdu](/maintainers/jdu)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/maduser-argon-whoops/health.svg)

```
[![Health](https://phpackages.com/badges/maduser-argon-whoops/health.svg)](https://phpackages.com/packages/maduser-argon-whoops)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k16](/packages/tempest-framework)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k543.5M2.7k](/packages/aws-aws-sdk-php)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k46](/packages/neuron-core-neuron-ai)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k86.4k1](/packages/getgrav-grav)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)

PHPackages © 2026

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