PHPackages                             devorto/exception-handler - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. devorto/exception-handler

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

devorto/exception-handler
=========================

A class to convert standard php errors to exceptions and supports to log (un)caught to php-log and other loggers using LoggerInterface.

4.0.0(5mo ago)02.1kMITPHPPHP ^8.3.0

Since Jun 28Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/devorto/exception-handler)[ Packagist](https://packagist.org/packages/devorto/exception-handler)[ RSS](/packages/devorto-exception-handler/feed)WikiDiscussions master Synced 1mo ago

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

Exception handling class
========================

[](#exception-handling-class)

Always wanted to convert php errors to exceptions? Or catch "uncaught exceptions" so you can log them with a logger?

Don't look any further and include this class now! 😁

#### Example

[](#example)

```
