Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
symfony1 plugin for Sentry (raven-php)
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
lib
LICENSE
README.md
composer.json

README.md

sfRavenPlugin

Enable remote logging to Sentry into symfony1 applications.

  • Fatal errors (syntax error, out of memory)
  • Warnings (undefined variable, headers sent, deprecated)
  • Exceptions

Install

With composer

composer require lexpress/sf-raven-plugin

Add to your project configuration:

# config/ProjectConfiguration.php

class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    $this->enablePlugins(array(
      // ...

      'sfRavenPlugin',
    ));
  }
}

Configure the Raven client. The DSN can be found in the getsentry interface.

# config/raven.yml

all:
  client:
    dsn: udp://11111111111111111111111111111111:22222222222222222222222222222222@localhost:9001/1
Something went wrong with that request. Please try again.