PHPackages                             undercloud/exceptor - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. undercloud/exceptor

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

undercloud/exceptor
===================

Exception's Flow

015PHP

Since Oct 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/undercloud/exceptor)[ Packagist](https://packagist.org/packages/undercloud/exceptor)[ RSS](/packages/undercloud-exceptor/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

exceptor
========

[](#exceptor)

[![Build Status](https://camo.githubusercontent.com/e8f35cdd640dc7a01d0b15c8b6599d2a9730076709b34c587ff195a146da75ec/68747470733a2f2f7472617669732d63692e6f72672f756e646572636c6f75642f6578636570746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/undercloud/exceptor)

Exception's flow

Install
-------

[](#install)

`composer require undercloud/exceptor`

Requirements
------------

[](#requirements)

PHP 5.4+

Description
-----------

[](#description)

Provides a mechanism for catching errors and exceptions in the application flow. All built-in types of errors are transformed into exceptions, which greatly simplifies debugging. It also intercepts errors due to lack of memory and execution timeout.

Usage
-----

[](#usage)

```
// catch all
error_reporting(E_ALL);

use Undercloud\Exception\FlowHandler;

(new FlowHandler(function(){
    try {
        // your code
    // PHP 5.x
    } catch (Exception $e) {
        return $e;
    // PHP 7.x
    } catch (Throwable $e) {
        return $e;
    }
}))->flow(function($e){
    // handle exception
})
```

Type of Exceptions
------------------

[](#type-of-exceptions)

- All standard PHP's exceptions
- CompileErrorException
- CompileWarningException
- CoreErrorException
- CoreWarningException
- DeprecatedException
- NoticeException
- ParseException
- RecoverableErrorException
- StrictException
- UserDeprecatedException
- UserErrorException
- UserNoticeException
- UserWarningException
- WarningException
- ExecutionTimeoutException
- OutOfMemoryException

LICENSE
-------

[](#license)

MIT

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/920a45a1bd1af5960cf6781cd2d8831ebfe2890c1077210667802afa109d8d13?d=identicon)[undercloud](/maintainers/undercloud)

---

Top Contributors

[![undercloud](https://avatars.githubusercontent.com/u/9054259?v=4)](https://github.com/undercloud "undercloud (31 commits)")

---

Tags

debugdebuggingerrorerror-handlingexception-handlingexceptionsphp

### Embed Badge

![Health badge](/badges/undercloud-exceptor/health.svg)

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

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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