Exceptionist tries to provide more control over which exceptions are thrown without losing any important information. It's providing a simple logging mechanism for objects to save all its exceptions and control which one of those should actually be thrown when the object is executed.
Exceptionist is currently developed and designed around PHP 7.3. Earlier versions are not tested and for now not planned to be supported. Composer is required.
Install composer on your system and run:
composer require crystlbrd/exceptionist
It is not recommended to install it manually, but theoretically possible. This is only for completeness.
Download the zip or clone the repository into the directory you want Exceptionist to be in and set up the namespaces for your project. crystlbrd\Exceptionist\
should point into the /src/ directory of Exceptionist.
For more details to how to use Exceptionist please visit the wiki