PHPackages                             proklung/api-exception-bundle - 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. [API Development](/categories/api)
4. /
5. proklung/api-exception-bundle

ActiveSymfony-bundle[API Development](/categories/api)

proklung/api-exception-bundle
=============================

Бандл для управления исключениями, выбрасываемыми API

1.0.1(4y ago)120MITPHPPHP &gt;=7.3 || ^8.0

Since Apr 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ProklUng/api.exception.bundle)[ Packagist](https://packagist.org/packages/proklung/api-exception-bundle)[ RSS](/packages/proklung-api-exception-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Бандл для управления исключениями, выбрасываемыми API
=====================================================

[](#бандл-для-управления-исключениями-выбрасываемыми-api)

Форк [https://github.com/M6Web/ApiExceptionBundle](%D0%BF%D0%B0%D0%BA%D0%B5%D1%82%D0%B0), причесанный под частные нужды.

**INTERNAL**

Установка
---------

[](#установка)

`composer require proklung/api-exception-bundle`

Всякое
------

[](#всякое)

#### Пример конфигурации бандла (/local/config/packages/m6web\_api\_exception.yaml)

[](#пример-конфигурации-бандла-localconfigpackagesm6web_api_exceptionyaml)

```
m6web_api_exception:
  match_all: false
  exceptions:
    Prokl\ApiExceptionBundle\ExampleExceptions\DemoApiBundleException:
      status: 405 # Used for exceptions implements HttpExceptionInterface
      # code: 5286 # Create an unique code for this exception in your API, optional, default to 0 and not displayed
      message: "Example exception"

    Prokl\\ApiExceptionBundle\ExampleExceptions\DemoApiBundleVariableException:
      status: 406 # Used for exceptions implements HttpExceptionInterface
      # code: 5286 # Create an unique code for this exception in your API, optional, default to 0 and not displayed
      message: "Example exception with variable {id}"

    Prokl\\ApiExceptionBundle\ExampleExceptions\DemoUnknownException:
      status: 406 # Used for exceptions implements HttpExceptionInterface
      # code: 5286 # Create an unique code for this exception in your API, optional, default to 0 and not displayed
      message: "Example exception with errors"
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

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

Total

2

Last Release

1743d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.3

1.0.1PHP &gt;=7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9210c86ee6734e537eaf22c0f2fe7a965451e340e39e1aae2b74013f24c2660d?d=identicon)[gedovan](/maintainers/gedovan)

---

Top Contributors

[![ProklUng](https://avatars.githubusercontent.com/u/19857467?v=4)](https://github.com/ProklUng "ProklUng (3 commits)")

---

Tags

apibitrix-symfonyphp7symfony-bundlewordpress-symfonyphpbitrixbitrix-symfonybitrix-bundle

### Embed Badge

![Health badge](/badges/proklung-api-exception-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)

PHPackages © 2026

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