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
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.
Install the SDK using Composer.
composer require sentry/sentry
Initialize the SDK as early as possible in your application.
\Sentry\init(['dsn' => '___PUBLIC_DSN___' ]);
try {
thisFunctionThrows(); // -> throw new \Exception('foo bar');
} catch (\Exception $exception) {
\Sentry\captureException($exception);
}
The following integrations are fully supported and maintained by the Sentry team.
The following integrations are available and maintained by members of the Sentry community.
- Drupal
- Neos Flow
- WordPress
- ZendFramework
- Yii2
- Silverstripe
- CakePHP 3.0 - 4.3
- CakePHP 4.4+
- October CMS
- ... feel free to be famous, create a port to your favourite platform!
Please refer to CONTRIBUTING.md.
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!
Licensed under the MIT license, see LICENSE