Download the PHP package nietonfir/raygun-bundle without Composer
On this page you can find all versions of the php package nietonfir/raygun-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nietonfir/raygun-bundle
More information about nietonfir/raygun-bundle
Files in nietonfir/raygun-bundle
Package raygun-bundle
Short Description Symfony2 bundle for integrating mindscape/raygun4php
License MIT
Homepage https://github.com/Nietonfir/RaygunBundle
Informations about the package raygun-bundle
RaygunBundle
Raygun4PHP is a Raygun.io provider for PHP 5.3+. Raygun4js is a is a Raygun.io plugin for JavaScript. This bundle registers the library with the framework and provides a twig template for the plugin.
Installation
Install the latest version with
Configuration
Add your raygun api-key in parameters.yml:
Update config.yml
with the following configuration:
Enable the bundle:
Basic Usage
Register the raygun monolog handler in config_prod.yml
as the first monolog handler.
To use the JavaScript client include the bundled views in your template at their designated places according to the raygun documentation. NietonfirRaygunBundle::setup.html.twig
configures it, e.g.:
If you wish to override any part of the templates you can use the default Symfony mechanisms. A global twig parameter (raygun_api_key
) is exposed by a custom Twig_Extension
that provides the API key.
Raygun pulse can be enabled by either setting or passing a truthy variable named enable_pulse
to the template:
Configuration Reference
All versions of raygun-bundle with dependencies
symfony/config Version ~2.7|~3.0
symfony/dependency-injection Version ~2.7|~3.0
symfony/http-kernel Version ~2.7|~3.0
monolog/monolog Version ~1.8
twig/twig Version ~1.23|~2.0
mindscape/raygun4php Version ~1.6