Download the PHP package james-and-james-fulfilment/amg-sentry-plugin without Composer
On this page you can find all versions of the php package james-and-james-fulfilment/amg-sentry-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download james-and-james-fulfilment/amg-sentry-plugin
More information about james-and-james-fulfilment/amg-sentry-plugin
Files in james-and-james-fulfilment/amg-sentry-plugin
Package amg-sentry-plugin
Short Description Symfony 1.x plugin for Sentry.
License MIT
Homepage https://github.com/JamesAndJamesFulfilment/symfony-amg-sentry-plugin
Informations about the package amg-sentry-plugin
symfony's amgSentryPlugin
The amgSentryPlugin
is a Symfony 1.4 plugin for the Sentry PHP client.
This plugin is based on the Sentry PHP client library sentry-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 Sentry PHP client is maintained by the Sentry Team.