Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

SlashTrace - Awesome error handler - Raygun handler

This is the Raygun handler for SlashTrace. Use it to send your errors and exceptions to your Raygun account.

Usage

  1. Install using Composer:

    composer require slashtrace/slashtrace-raygun
    
  2. Hook it into SlashTrace:

    use SlashTrace\SlashTrace;
    use SlashTrace\Raygun\RaygunHandler;
    
    $handler = new RaygunHandler("Your Raygun API key");
     
    $slashtrace = new SlashTrace();
    $slashtrace->addHandler($handler);

    Alternatively, you can pass in a pre-configured Raygun client when you instantiate the handler:

    $raygun = new Raygun4php\RaygunClient("Your Raygun API key");
    $handler = new RaygunHandler($raygun);
    
    $slashtrace->addHandler($handler);
    

Read the SlashTrace docs to see how to capture errors and exceptions, and how to attach additional data to your events.

About

Raygun handler for SlashTrace

Resources

License

Packages

No packages published

Languages