PHPackages                             rawphp/raw-error-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. rawphp/raw-error-handler

ActiveLibrary

rawphp/raw-error-handler
========================

RawErrorHandler is a simple error handler used by RawPHP framework and other PHP applications.

0234PHP

Since Dec 18Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rawphp/RawErrorHandler)[ Packagist](https://packagist.org/packages/rawphp/raw-error-handler)[ RSS](/packages/rawphp-raw-error-handler/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

RawErrorHandler - A Simple Error Handler Class for PHP Applications
===================================================================

[](#rawerrorhandler---a-simple-error-handler-class-for-php-applications)

[![Build Status](https://camo.githubusercontent.com/044c66d665e36f9fe3f11dc733ecdee000c9c330feb2bd9a5ca691195ae22c7d/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f5261774572726f7248616e646c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawErrorHandler) [![Coverage Status](https://camo.githubusercontent.com/9f5391a899e6d4329330d5dca3a221f9130723d0262026e3534a97730cf33162/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7261777068702f5261774572726f7248616e646c65722f62616467652e706e67)](https://coveralls.io/r/rawphp/RawErrorHandler)[![Latest Stable Version](https://camo.githubusercontent.com/8565de18c69aedf11ca61b060d5d57ad298dc26ffa09abe53397a7014a61dea5/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6572726f722d68616e646c65722f762f737461626c652e737667)](https://packagist.org/packages/rawphp/raw-error-handler) [![Total Downloads](https://camo.githubusercontent.com/2037218cbd819246a54101726dbfa376f50fe568834ff4b65d27a1a248d812c5/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6572726f722d68616e646c65722f646f776e6c6f6164732e737667)](https://packagist.org/packages/rawphp/raw-error-handler)[![Latest Unstable Version](https://camo.githubusercontent.com/2cc537d886fee391e9a26dbfc93a74433dd4811c201e8a474b2605c9e155de7e/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6572726f722d68616e646c65722f762f756e737461626c652e737667)](https://packagist.org/packages/rawphp/raw-error-handler) [![License](https://camo.githubusercontent.com/6e87938fa171d8ca95cdcff8e0c4ee71fe5c31c9e317ee843a2de0d7ae9f9460/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6572726f722d68616e646c65722f6c6963656e73652e737667)](https://packagist.org/packages/rawphp/raw-error-handler)

Package Features
----------------

[](#package-features)

- Setup error and exception handlers
- Setup custom callbacks

Installation
------------

[](#installation)

### Composer

[](#composer)

RawErrorHandler is available via [Composer/Packagist](https://packagist.org/packages/rawphp/raw-error-handler).

Add `"rawphp/raw-error-handler": "0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-error-handler": "0.*@dev"
        }
}
```

You can also simply run the following from the command line:

```
composer require rawphp/raw-error-handler "0.*@dev"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawErrorHandler folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Basic Usage
-----------

[](#basic-usage)

```
