Skip to content

The official PHP SDK for Sentry (sentry.io)

License

Notifications You must be signed in to change notification settings

fmata/sentry-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raven-php
=========

raven-php is an experimental PHP client for `Sentry <http://aboutsentry.com/>`_.

::

    // Instantiate a new client with a compatible DSN
    $client = new Raven_Client('http://public:[email protected]/1');

    // Capture a message
    $event_id = $client->getIdent($client->message('my log message'));

    // Capture an exception
    $event_id = $client->getIdent($client->exception($ex));

    // Give the user feedback
    echo "Sorry, there was an error!";
    echo "Your reference ID is " . $event_id;

Resources
---------

* `Bug Tracker <http://github.com/getsentry/raven-php/issues>`_
* `Code <http://github.com/getsentry/raven-php>`_
* `IRC <irc://irc.freenode.net/sentry>`_  (irc.freenode.net, #sentry)

About

The official PHP SDK for Sentry (sentry.io)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.8%
  • Other 0.2%