Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sentry-php

> 后端框架
Open source

The official PHP SDK for Sentry (sentry.io)

1.9K stars0 likes2 views
WebsiteGitHub

About

The official PHP SDK for Sentry (sentry.io)

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.

bash
composer require sentry/sentry

Configuration

Initialize the SDK as early as possible in your application.

php
\Sentry\init(['dsn' => '___PUBLIC_DSN___' ]);

Usage

php
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.

  • Symfony
  • Laravel

3rd party integrations using SDK 4.x

The following integrations are available and maintained by members of the Sentry community.

  • Drupal
  • WordPress
  • Magento 2 by JustBetter or by Mygento
  • Joomla!
  • Neos Flow (and CMS) using flownative/sentry or networkteam/sentryclient
  • Neos CMS with specific Fusion handling using networkteam/neos-sentryclient
  • TYPO3
  • Yii3
  • ... feel free to be famous, create a port to your favourite platform!

3rd party integrations using the old SDK 3.x

  • ZendFramework
  • Yii2
  • Silverstripe
  • CakePHP 3.0 - 4.3
  • CakePHP 4.4+
  • October CMS

3rd party integrations using the old SDK 2.x

  • OXID eShop
  • CakePHP

3rd party integrations using the old SDK 1.x

  • OpenCart
  • TYPO3

Community

  • Documentation
  • Bug Tracker
  • Code

Contributing to the SDK

Please make sure to read the CONTRIBUTING.md before making a pull request.

Thanks to everyone who has contributed to this project so far.

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPcrash-reportingcrash-reportserror-handlererror-monitoring

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架