webino/exceptions

Slightly better PHP exceptions.

Maintainers

👁 Webino

Package info

github.com/webino/exceptions

pkg:composer/webino/exceptions

Statistics

Installs: 224

Dependents: 6

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2019-03-21 16:37 UTC

Requires

  • php: ~7.1

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 567d8d0f3c96c71f088b9e79a1756c9e515b0bb9

  • Peter Bacinsky <peter.woop@bacinsky.sk>

This package is auto-updated.

Last update: 2026-06-22 08:53:46 UTC


README

Slightly better exceptions.

👁 Build Status
👁 Coverage Status
👁 Code Quality
👁 Latest Stable Version

Setup

👁 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`.

Development

👁 Build Status
👁 Coverage Status
👁 Code Quality
👁 Latest Unstable Version

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

👁 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