PHPackages                             webino/exceptions - 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. webino/exceptions

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

webino/exceptions
=================

Slightly better PHP exceptions.

1.0.0(7y ago)12242BSD-3-ClausePHPPHP ~7.1

Since Mar 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/webino/exceptions)[ Packagist](https://packagist.org/packages/webino/exceptions)[ RSS](/packages/webino-exceptions/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (4)Versions (3)Used By (2)

Webino Exceptions
=================

[](#webino-exceptions)

Slightly better exceptions.

[![Build Status](https://camo.githubusercontent.com/79ac148ba99b3fc2a02c4f1be8647a5d68019716fe78b58a6a64aed484b11bd9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776562696e6f2f657863657074696f6e732f6d61737465722e7376673f7374796c653d666f722d7468652d6261646765)](http://travis-ci.org/webino/exceptions "Master Build Status")[![Coverage Status](https://camo.githubusercontent.com/bdc0bc6b700264d9b448919a78f0c360c2351bf095311f88bd7b1e04a76ebcbe/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f776562696e6f2f657863657074696f6e732f6d61737465722e7376673f7374796c653d666f722d7468652d6261646765)](https://coveralls.io/github/webino/exceptions?branch=master "Master Coverage Status")[![Code Quality](https://camo.githubusercontent.com/42814363752831d9c81b731931e0f028152752cda3b30016144add9d7c4d8b8e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776562696e6f2f657863657074696f6e732f6d61737465722e7376673f7374796c653d666f722d7468652d6261646765)](https://scrutinizer-ci.com/g/webino/exceptions/?branch=master "Master Code Quality")[![Latest Stable Version](https://camo.githubusercontent.com/567029e991fbc6181258ac0a2eaf791932bc01eb74c0de47a5e77befd8e24930/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f776562696e6f2f657863657074696f6e732e7376673f6c6162656c3d535441424c45267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/webino/exceptions)

Setup
-----

[](#setup)

[![PHP from Packagist](https://camo.githubusercontent.com/866cae3821f7fc26fb5799b4e2802134314113d081ce15368225efa7fe2e1f0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776562696e6f2f657863657074696f6e732e7376673f7374796c653d666f722d7468652d6261646765)](https://php.net "Required PHP version")

```
composer require webino\exceptions
```

Quick Use
---------

[](#quick-use)

Exception message formatting:

```
$exc = (new Exception('Exception %s, %s.'))->format($foo, $bar);
echo $exc->getMessage();

// => Exception `Foo`, `Bar`.
```

Development
-----------

[](#development)

[![Build Status](https://camo.githubusercontent.com/da94094cb8b839f8cef4ac69de59ab4cf71c37177e82f7638f135a5de6814cc6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776562696e6f2f657863657074696f6e732f646576656c6f702e7376673f7374796c653d666f722d7468652d6261646765)](http://travis-ci.org/webino/exceptions "Develop Build Status")[![Coverage Status](https://camo.githubusercontent.com/1f7e5c1329abe69d44a43e74cb2aa464d14f2525c5b4c74494386889c6954875/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f776562696e6f2f657863657074696f6e732f646576656c6f702e7376673f7374796c653d666f722d7468652d6261646765)](https://coveralls.io/github/webino/exceptions?branch=develop "Develop Coverage Status")[![Code Quality](https://camo.githubusercontent.com/e0f0a5fdb5a8fdf362a948e077b5149a91e362cf62ad3aaf4359f9a59a9524fe/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776562696e6f2f657863657074696f6e732f646576656c6f702e7376673f7374796c653d666f722d7468652d6261646765)](https://scrutinizer-ci.com/g/webino/exceptions/?branch=develop "Develop Code Quality")[![Latest Unstable Version](https://camo.githubusercontent.com/394e0260d9383d7d88bc0442228f009253b31e421176f79bf40022fc3092e9c6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672d7072652f776562696e6f2f657863657074696f6e732e7376673f6c6162656c3d50524556494557267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/webino/exceptions "Packagist")

Static analysis:

```
composer analyse
```

Coding style check:

```
composer check
```

Coding style fix:

```
composer fix
```

Testing:

```
composer test
```

Git pre-commit setup:

```
ln -s ../../pre-commit .git/hooks/pre-commit
```

Addendum
--------

[](#addendum)

[![License](https://camo.githubusercontent.com/445124021d15eacc7dfe943a5de28666982100d94ae4496c4a7ee62d207be27b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776562696e6f2f657863657074696f6e732e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/webino/exceptions/blob/master/LICENSE.md "BSD-3-Clause License")[![Total Downloads](https://camo.githubusercontent.com/c4576876974836d85696b3d9154d84eec21298d26daad70305626367562166d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776562696e6f2f657863657074696f6e732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/webino/exceptions "Packagist")[![GitHub code size in bytes](https://camo.githubusercontent.com/727126b722c75a55973fbe654a9637388a7b59cc45a68a7c64c5d779aa3f30ac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f776562696e6f2f657863657074696f6e732e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/727126b722c75a55973fbe654a9637388a7b59cc45a68a7c64c5d779aa3f30ac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f776562696e6f2f657863657074696f6e732e7376673f7374796c653d666f722d7468652d6261646765)

Please, if you are interested in this library report any issues and don't hesitate to contribute. We will appreciate any contributions on development of this library.

[![GitHub issues](https://camo.githubusercontent.com/2adb4706a5b36b61e96c2926e6353d6cf5c8438cefa1eaad20e40c0a1a7d2e45/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f776562696e6f2f657863657074696f6e732e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/webino/exceptions/issues)[![GitHub forks](https://camo.githubusercontent.com/14183550fdff2015ea316e9b93d25e19fcd42531944542a164233e9051875470/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f776562696e6f2f657863657074696f6e732e7376673f6c6162656c3d466f726b267374796c653d666f722d7468652d6261646765)](https://github.com/webino/exceptions)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

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

2651d ago

### Community

Maintainers

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

---

Top Contributors

[![bacinsky](https://avatars.githubusercontent.com/u/3078875?v=4)](https://github.com/bacinsky "bacinsky (1 commits)")

---

Tags

exceptionslibraryv3webinowip

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webino-exceptions/health.svg)

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

###  Alternatives

[jeremykenedy/laravel-phpinfo

phpinfo() in a pretty Laravel blade template

46181.3k](/packages/jeremykenedy-laravel-phpinfo)[cyber-duck/silverstripe-seo

A SilverStripe module to optimise the Meta, crawling, indexing, and sharing of your website content

4251.3k](/packages/cyber-duck-silverstripe-seo)[neutron/signal-handler

A library to ease the use of signal handling.

12102.9k2](/packages/neutron-signal-handler)

PHPackages © 2026

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