Download the PHP package vintagesucks/yii-sentry without Composer

On this page you can find all versions of the php package vintagesucks/yii-sentry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii-sentry

yii-sentry

Latest Stable Version

Sentry for the Yii PHP framework.

yii-sentry is an extension for Yii that allows for sending data to Sentry. It comes with an application component that allows for centralized access to the Raven client, an error handler that sends errors and exception to Sentry and a log route that sends log messages to Sentry. It has never been this easy to professionally manage your errors.

Features

Resources

Setup

The easiest way to install this extension is to use Composer by adding the following to your composer.json file:

Run the following command in the root directory of your project to install the extension:

TIP: Create a path alias to Composer's vendor directory called vendor to ease class mapping to dependencies by adding it to in your application configuration.

If you do not want to use Composer, you can download the extension and its dependencies and set everything up manually.

Once you have downloaded the extension add the following to your application configuration:

The following configuration parameters are available for the SentryClient:

Sending errors to Sentry

To enable the SentryErrorHandler add the following to your application configuration:

The following configuration parameters are available for the SentryErrorHandler:

That's it, now errors and exceptions will be sent to Sentry.

Sending log messages to Sentry

To enable the SentryLogRoute add the following to your application configuration:

The following configuration parameters are available for the SentryLogRoute:

That's it, now log messages with levels error and warning will be sent to Sentry.

TIP: Do not log messages with level trace to Sentry because it will slow down your application a lot.


All versions of yii-sentry with dependencies

PHP Build Version
Package Version
Requires raven/raven Version 0.8.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vintagesucks/yii-sentry contains the following files

Loading the files please wait ....