Download the PHP package yassa/rollbar without Composer
On this page you can find all versions of the php package yassa/rollbar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yassa/rollbar
More information about yassa/rollbar
Files in yassa/rollbar
Download yassa/rollbar
More information about yassa/rollbar
Files in yassa/rollbar
Vendor yassa
Package rollbar
Short Description Zend Framework 2 module for connect to Rollbar
License Apache-2.0
Package rollbar
Short Description Zend Framework 2 module for connect to Rollbar
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package rollbar
yassa-rollbar
This is ZF2 module that implements the notifier for Rollbar. Catches and reports exceptions to Rollbar.com for alerts, reporting, and analysis.
Requirements
- Zend Framework 2 (latest master)
- rollbar/rollbar-php
Installation
By cloning project
- Install the rollbar-php by cloning it into
./vendor/
. - Clone this project into your
./vendor/
directory.
With composer
-
Add this project in your composer.json:
- Install this package by running the command:
Post installation
-
Enabling it in your
application.config.php
file. - Copy
config/module.yassa.rollbar.global.php.dist
inproject/directory/config/autoload/
and remove.dist
extension.
Options
The following options are available:
- enabled - Switch On/Off module
- access_token - Your project access token
- base_api_url - The base API url to post to. (default: https://api.rollbar.com/api/1/)
- batch_size - Flush batch early if it reaches this size (to prevent memory issues). (default: 50)
- batched - true to batch reports from a single request together. (default: true)
- branch - Name of the checked-out branch.
- capture_error_stacktraces - Record full stacktraces for PHP errors. (default: true)
- environment - Environment name. Any string up to 255 chars is OK. For best results, use "production" for your production environment. (default: production)
- error_sample_rates - Associative array mapping PHP error numbers to sample rates. Sample rates are ratio out of 1, e.g. 0 is "never report", 1 is "always report", and 0.1 is "report 10% of the time". Sampling is done on a per-error basis. (default: array(), meaning all errors are reported.)
- errorhandler - Register Rollbar as an error handler to log PHP errors
- exceptionhandler - Register Rollbar as an exception handler to log PHP exceptions
- host - Server hostname. (default: null, which will defer to a call to gethostname() (or php_uname('n') if that function does not exist))
- logger - An object with a log($level, $message) method. Will be used by RollbarNotifier to log messages.
- max_errno - Max PHP error number to report. e.g. 1024 will ignore all errors E_USER_NOTICE or higher. (default: -1 (report all errors))
- person - An associative array describing the currently-logged-in user. Required: id, optional: username, email. All values are strings.
- person_fn - A function reference (string, etc. - anything that call_user_func can handle) returning an array like the one for 'person'
- root - Absolute path to the root of your application, not including the final /.
- scrub_fields - Array of field names to scrub out of POST. Values will be
replaced with astrickses. If overridiing, make sure to list all fields you want
to scrub, not just fields you want to add to the default. Param names are
converted to lowercase before comparing against the scrub list. (default:
array('passwd', 'password', 'secret', 'confirm_password', 'password_confirmation')
) - shift_function - Whether to shift function names in stack traces down one frame, so that the function name correctly reflects the context of each frame. (default: true)
- shutdownfunction - Register Rollbar as an shutdown function
- timeout - Request timeout for posting to Rollbar, in seconds. (default: 3)
All versions of rollbar with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.3
rollbar/rollbar Version dev-master
zendframework/zend-eventmanager Version 2.*
zendframework/zend-loader Version 2.*
zendframework/zend-servicemanager Version 2.*
zendframework/zend-log Version 2.*
rollbar/rollbar Version dev-master
zendframework/zend-eventmanager Version 2.*
zendframework/zend-loader Version 2.*
zendframework/zend-servicemanager Version 2.*
zendframework/zend-log Version 2.*
The package yassa/rollbar contains the following files
Loading the files please wait ....