PHPackages                             neighborhoods/exception-component - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. neighborhoods/exception-component

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

neighborhoods/exception-component
=================================

Provides consistent transient and non-transient exception types.

1.0.6(4y ago)06.6k2[2 PRs](https://github.com/neighborhoods/ExceptionComponent/pulls)2MITPHPPHP ^7.2|^8

Since Jul 29Pushed 4y ago17 watchersCompare

[ Source](https://github.com/neighborhoods/ExceptionComponent)[ Packagist](https://packagist.org/packages/neighborhoods/exception-component)[ RSS](/packages/neighborhoods-exception-component/feed)WikiDiscussions master Synced today

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

Neighborhoods Exception Component
=================================

[](#neighborhoods-exception-component)

Provides a consistent transient and non-transient exception types.

These are primarily intended to be used in Repositories. Repositories are experts at interacting with their associated storages. They should catch storage exceptions, interpret them (since a lot of storage exceptions have esoteric codes or, worse, esoteric message strings that need to be identified for certain cases) and decompose the specific storage exception to be either Transient (this will get better) or NonTransient (this needs a human, i.e. it will not get better.)

Example
-------

[](#example)

```
//...
} catch (\Doctrine\DBAL\ConnectionException $connectionException) {
    throw (new TransientException())->setPrevious($pdoException);
}
return $this;
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.2% 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 ~48 days

Recently: every ~66 days

Total

7

Last Release

1816d ago

PHP version history (3 changes)1.0.0PHP ^7.3

1.0.2PHP ^7.2

1.0.6PHP ^7.2|^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8584765?v=4)[neighborhoods.com](/maintainers/neighborhoods)[@neighborhoods](https://github.com/neighborhoods)

---

Top Contributors

[![rhift](https://avatars.githubusercontent.com/u/1008958?v=4)](https://github.com/rhift "rhift (12 commits)")[![njames8](https://avatars.githubusercontent.com/u/7518322?v=4)](https://github.com/njames8 "njames8 (5 commits)")[![Firtzberg](https://avatars.githubusercontent.com/u/8490119?v=4)](https://github.com/Firtzberg "Firtzberg (2 commits)")

### Embed Badge

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

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

###  Alternatives

[kris/laravel-form-builder

Laravel form builder - symfony like

1.7k2.2M45](/packages/kris-laravel-form-builder)

PHPackages © 2026

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