PHPackages                             akiyatkin/error - 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. akiyatkin/error

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

akiyatkin/error
===============

Работа с ошибками php

v1.0.5(7y ago)02.3k—0%1PHP

Since Dec 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/akiyatkin/error)[ Packagist](https://packagist.org/packages/akiyatkin/error)[ Docs](https://github.com/akiyatkin/error)[ RSS](/packages/akiyatkin-error/feed)WikiDiscussions master Synced 1mo ago

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

Работа с ошибка php
===================

[](#работа-с-ошибка-php)

Это простое расширение для infrajs реализующе простую логику. Если сайт работает на продакшине ошибки php не должны попадать в вывод и если сайт находится в разработке все ошибки должны показываться включай Notice. Расширение устанавливается автоматически с [infrajs/router](https://github.com/infrajs/router) и у него самая низкоуровневая интеграция. Оно подключается автоматически сразу после [infrajs/access](https://github.com/infrajs/access)

Установка через composer
------------------------

[](#установка-через-composer)

```
"require":{
	akiyatkin/error":"~1"
}

```

Использование
-------------

[](#использование)

Посмотреть лог ошибок можно после установки по адресу /-error/

Интеграция с infrajs
--------------------

[](#интеграция-с-infrajs)

Раньширение уже установлено вместе с infrajs/router

```
use akiyatkin/error/Error;

Error::init();
```

Конфиг
------

[](#конфиг)

Указано в каком режиме показывать ошибки, а в каком скрывать.

```
{
	"test": true,
	"debug": true,
	"admin": false
}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~167 days

Total

6

Last Release

2723d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/341a8ef8a06866ad99b1bbcf0216fd8e331b076b1690a7d992c386192674b787?d=identicon)[akiyatkin](/maintainers/akiyatkin)

---

Top Contributors

[![akiyatkin](https://avatars.githubusercontent.com/u/953753?v=4)](https://github.com/akiyatkin "akiyatkin (14 commits)")

### Embed Badge

![Health badge](/badges/akiyatkin-error/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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