PHPackages                             als/exception - 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. als/exception

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

als/exception
=============

Parser3 Exceptions Renderer.

1.0.1(8y ago)261MITHTML

Since Nov 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/parser3/als.exception)[ Packagist](https://packagist.org/packages/als/exception)[ Docs](https://github.com/parser3/als.exception)[ RSS](/packages/als-exception/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Als/Exception
=============

[](#alsexception)

Шаблонизатор «исключений» Парсера с показом участка кода и подстветкой строки вызвавшей исключение.

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

[](#installation)

```
$ composer require als/exception
```

Basic Usage
-----------

[](#basic-usage)

Для подключения необходимо в корневом auto.p перекрыть метод `@unhandled_exception[]`:

```
###############################################################################
@unhandled_exception[exception;stack]
$result[^Als/Exception:render[
	$.exception[$exception]
	$.stack[$stack]
	$.debug(true)
	$.lines(20)
]]
# End: @unhandled_exception[]
```

### Params

[](#params)

- $.exception `` Информация об ошибке
- $.stack `` Стек вызовов
- $.debug `` Ссылка на метод @is\_developer\[\], либо результат его выполнения. (default: false)
- $.lines `` Кол-во строк кода, которые будут показаны для каждой строки в стеке вызовов. (default: 20)

"Release" режим
---------------

[](#release-режим)

БылоСтало[![Стандартный вывод: Release](doc/img/default.release.png)](doc/img/default.release.png)[![Шаблонизированный вывод: Release](doc/img/templated.release.png)](doc/img/templated.release.png)---

"Debug" режим
-------------

[](#debug-режим)

БылоСтало[![Стандартный вывод: Debug](doc/img/default.debug.png)](doc/img/default.debug.png)[![Шаблонизированный вывод: Debug](doc/img/templated.debug.png)](doc/img/templated.debug.png)---

References
----------

[](#references)

- Bugs and feature request are tracked on [GitHub](https://github.com/parser3/als.exception/issues)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 96.8% 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 ~300 days

Total

2

Last Release

3169d ago

### Community

Maintainers

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

---

Top Contributors

[![leokn](https://avatars.githubusercontent.com/u/398527?v=4)](https://github.com/leokn "leokn (30 commits)")[![unhandled-exception](https://avatars.githubusercontent.com/u/1648841?v=4)](https://github.com/unhandled-exception "unhandled-exception (1 commits)")

---

Tags

alspackageparser3exceptionparser3

### Embed Badge

![Health badge](/badges/als-exception/health.svg)

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

###  Alternatives

[filp/whoops

php error handling for cool kids

13.2k402.4M1.4k](/packages/filp-whoops)[yireo/magento2-whoops

Magento 2 module adding Whoops error handling

102703.5k](/packages/yireo-magento2-whoops)[jolicode/gif-exception-bundle

The GhostBuster of your exception page

20596.8k](/packages/jolicode-gif-exception-bundle)[ikkez/f3-falsum

Pretty error handling for Fat-Free Framework

21145.8k3](/packages/ikkez-f3-falsum)[kuria/error

Makes handling and debugging PHP errors suck less

1920.0k2](/packages/kuria-error)[thehocinesaad/laravel-error-ai

This package adds Ask AI button to the error page.

2214.4k](/packages/thehocinesaad-laravel-error-ai)

PHPackages © 2026

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