PHPackages                             evolution7/bugsnag-cilex - 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. evolution7/bugsnag-cilex

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

evolution7/bugsnag-cilex
========================

The Bugsnag middleware for Cilex

1.0.0(11y ago)050MITPHPPHP &gt;=5.3.0

Since Nov 16Pushed 11y ago2 watchersCompare

[ Source](https://github.com/evolution7/bugsnag-cilex)[ Packagist](https://packagist.org/packages/evolution7/bugsnag-cilex)[ Docs](http://github.com/evolution7/bugsnag-cilex)[ RSS](/packages/evolution7-bugsnag-cilex/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Bugsnag Middleware for Cilex
============================

[](#bugsnag-middleware-for-cilex)

The Bugsnag middleware for Cilex integrates into Cilex PHP applications.

[Bugsnag](https://bugsnag.com) captures errors in real-time from your web, mobile and desktop applications, helping you to understand and resolve them as fast as possible. [Create a free account](https://bugsnag.com) to start capturing errors from your applications.

The Bugsnag middleware for Cilex supports Cilex 1.1+ and PHP 5.3+.

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

[](#installation)

To get this middleware in to an existing project, the best way is to use [Composer](http://getcomposer.org).

1. Add `bugsnag/bugsnag-cilex` as a Composer dependency in your project's [`composer.json`](http://getcomposer.org/doc/01-basic-usage.md#the-require-key "More on the composer.json format") file:

    ```
    {
      "require": {
        "evolution7/bugsnag-cilex": "*"
      }
    }
    ```
2. If you haven't already, download and [install Composer](http://getcomposer.org/doc/01-basic-usage.md#installation "More detailed installation instructions on the Composer site"):

    ```
    curl -sS https://getcomposer.org/installer | php
    ```
3. [Install your Composer dependencies](http://getcomposer.org/doc/01-basic-usage.md#installing-dependencies "More detailed instructions on the Composer site"):

    ```
    php composer.phar install
    ```
4. Set up [Composer's autoloader](http://getcomposer.org/doc/01-basic-usage.md#autoloading "More information about the autoloader on the Composer site"):

    ```
    require_once 'vendor/autoload.php';
    ```

You're done! See the example application below that demonstrates basic usage.

Example application
-------------------

[](#example-application)

```
