musoftware / logger-php
PHP SDK for Sentry (http://sentry.io)
Requires
- php: ^7.2|^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/psr7: ^1.8.4|^2.1.1
- jean85/pretty-package-versions: ^1.5|^2.0.4
- psr/log: ^1.0|^2.0|^3.0
- symfony/options-resolver: ^4.4.30|^5.0.11|^6.0|^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.4
- guzzlehttp/promises: ^1.0|^2.0
- guzzlehttp/psr7: ^1.8.4|^2.1.1
- monolog/monolog: ^1.6|^2.0|^3.0
- phpbench/phpbench: ^1.0
- phpstan/phpstan: ^1.3
- phpunit/phpunit: ^8.5.14|^9.4
- symfony/phpunit-bridge: ^5.2|^6.0|^7.0
- vimeo/psalm: ^4.17
Suggests
- monolog/monolog: Allow sending log messages to Sentry by using the included Monolog handler.
Conflicts
- raven/raven: *
- dev-master
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.5.5
- 4.5.0
- 4.4.0
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.1
- 4.0.0
- 3.22.1
- 3.22.0
- 3.21.0
- 3.20.1
- 3.20.0
- 3.19.1
- 3.19.0
- 3.18.2
- 3.18.1
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.1
- 3.13.0
- 3.12.1
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.1
- 3.9.0
- 3.8.1
- 3.8.0
- 3.7.0
- 3.6.1
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.7
- 3.3.6
- 3.3.5
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta1
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 2.0.0-beta2
- 2.0.0-beta1
- 1.0.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.1
- 0.9.0
- 0.8.0
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.1
- 0.4.0
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1
This package is auto-updated.
Last update: 2024-11-04 11:52:58 UTC
README
Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions
Official Sentry SDK for PHP
The Sentry PHP error reporter tracks errors and exceptions that happen during the execution of your application and provides instant notification with detailed information needed to prioritize, identify, reproduce and fix each issue.
Getting started
Install
Install the SDK using Composer.
composer require sentry/sentry
Configuration
Initialize the SDK as early as possible in your application.
\Sentry\init(['dsn' => '___PUBLIC_DSN___' ]);
Usage
try { thisFunctionThrows(); // -> throw new \Exception('foo bar'); } catch (\Exception $exception) { \Sentry\captureException($exception); }
Official integrations
The following integrations are fully supported and maintained by the Sentry team.
3rd party integrations using SDK 4.x
The following integrations are available and maintained by members of the Sentry community.
3rd party integrations using the old SDK 3.x
3rd party integrations using the old SDK 2.x
3rd party integrations using the old SDK 1.x
Community
Contributing to the SDK
Please refer to CONTRIBUTING.md.
Getting help/support
If you need help setting up or configuring the PHP SDK (or anything else in the Sentry universe) please head over to the Sentry Community on Discord. There is a ton of great people in our Discord community ready to help you!
Resources
License
Licensed under the MIT license, see LICENSE