This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Slightly better PHP exceptions.

1.0.0 2019-03-21 16:37 UTC

This package is auto-updated.

Last update: 2021-08-21 22:08:44 UTC


Slightly better exceptions.

Build Status Coverage Status Code Quality Latest Stable Version


PHP from Packagist

composer require webino\exceptions

Quick Use

Exception message formatting:

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

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


Build Status Coverage Status Code Quality Latest Unstable Version

Static analysis:

composer analyse

Coding style check:

composer check

Coding style fix:

composer fix


composer test

Git pre-commit setup:

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


License Total Downloads GitHub code size in bytes

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 GitHub forks