Download the PHP package yiisoft/yii-sentry without Composer
On this page you can find all versions of the php package yiisoft/yii-sentry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yiisoft/yii-sentry
More information about yiisoft/yii-sentry
Files in yiisoft/yii-sentry
Package yii-sentry
Short Description A Sentry integration for Yii Framework
License BSD-3-Clause
Homepage https://www.yiiframework.com/
Informations about the package yii-sentry
Yii Sentry
The package provides Sentry integration for Yii Framework.
Requirements
- PHP 8.0 or higher.
Installation
The package could be installed with Composer.
The package needs PSR-compatible HTTP client and factories so require it additionally to this package:
The first two can be replaced to other packages of your choice.
For handling console errors yii-console
and yii-event
packages are required additionally:
Configure HTTP factories and client (usually that is config/common/di/sentry.php
):
Then add SentryMiddleware
to main application middleware set and configure DSN in config/params.php
. Console errors
are captured by default, there is no need to configure anything.
Note that fatal errors are handled too.
In options
you can also pass additional Sentry configuration. See
official Sentry docs for keys and values.
Documentation
- Internals
If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.
License
The Yii Sentry is free software. It is released under the terms of the BSD License.
Please see LICENSE
for more information.
Maintained by Yii Software.
Support the project
Follow updates
All versions of yii-sentry with dependencies
psr/http-message Version ^1.0|^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
sentry/sdk Version ^3.2
sentry/sentry Version ^3.11
symfony/console Version ^5.4|^6.0
yiisoft/di Version ^1.0