{ "html": "
There are various ways to install the PHP integration for Sentry. The\nrecommended way is to use Composer:
\n$ composer require "sentry/sentry"\n
Alternatively you can manually install it:
\nDownload and extract the latest sentry-php archive\nto your PHP project.
\nRequire the autoloader in your application:
\nrequire_once '/path/to/Raven/library/Raven/Autoloader.php';\nRaven_Autoloader::register();\n
Install the sentry/sentry-symfony
package:
$ composer require sentry/sentry-symfony\n
Enable the bundle in app/AppKernel.php
:
<?php\nclass AppKernel extends Kernel\n{\n public function registerBundles()\n {\n $bundles = array(\n // ...\n\n new Sentry\\SentryBundle\\SentryBundle(),\n );\n\n // ...\n }\n\n // ...\n}\n
Add your DSN to app/config/config.yml
:
sentry:\n dsn: "___DSN___"\n