Download the PHP package amg-dev/amg-sentry-plugin without Composer
On this page you can find all versions of the php package amg-dev/amg-sentry-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amg-dev/amg-sentry-plugin
More information about amg-dev/amg-sentry-plugin
Files in amg-dev/amg-sentry-plugin
Package amg-sentry-plugin
Short Description Symfony 1.x plugin for Sentry.
License MIT
Homepage https://github.com/amg-dev/symfony-amg-sentry-plugin
Informations about the package amg-sentry-plugin
symfony's amgSentryPlugin
The amgSentryPlugin
is a symfony 1.4 plugin for Sentry interface.
This plugin is based on Raven client library raven-php.
Requirements
- PHP ≥ 5.2
- symfony ≥ 1.4
- Sentry instance
Installation
In the plugins
folder of your symfony project.
The Composer way
Add the require to your composer.json. It's oddly named but like this Composer's symfony1 installer camelcases it correctly. Composer will install it into your project's plugins directory automatically, and add the requirements.
Of course, don't forget to add Composer's autoloader to your ProjectConfiguration:
Via git clone
Via git submodule
Via zip archive
Download and extract zip archive.
Configuration
In your symfony project folder.
Activate the plugin in config/ProjectConfiguration.class.php
Configure the plugin in config/app.yml
(project and/or application level)
dsn
- If it is possible for sites with high traffic use UDP protocol.reportPHPErrors
- If true, it sends a notification when there is a exception.reportPHPWarnings
- If true, it sends a notification when there is a warning.report404
- If true, it sends a notification when a user lands on a page 404. It should be used only for the duration of the study, the risk is that web crawlers will produce a lot of notifications.
(Optional) Enable the helper in config/settings.yml
(application level)
(Optional) Configure the symfony logger in config/factories.yml
(project and/or application level)
Additional docs about logging:
Clear the cache
Usage
amgSentry
SentryHelper
sfLogger
Contributors
- Nicolas Dubois [email protected]
- Jean Roussel [email protected]
- Arkadiusz Tułodziecki [email protected]
vendor/raven-php
The Raven PHP client was originally written by Michael van Tellingen and is maintained by the Sentry Team.