GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - getsentry/sentry-php: The official PHP SDK for Sentry

BranchesTags
Open more actions menu

Latest commit

 

History

2,172 Commits
2,172 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
scripts
scripts
 
 
src
src
 
 
stubs
stubs
 
 
tests
tests
 
 
.craft.yml
.craft.yml
 
 
.editorconfig
.editorconfig
 
 
.git-blame-ignore-revs
.git-blame-ignore-revs
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
 
 
AGENTS.md
AGENTS.md
 
 
AUTHORS
AUTHORS
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
UPGRADE-2.0.md
UPGRADE-2.0.md
 
 
UPGRADE-3.0.md
UPGRADE-3.0.md
 
 
UPGRADE-4.0.md
UPGRADE-4.0.md
 
 
analysis-baseline.toml
analysis-baseline.toml
 
 
codecov.yml
codecov.yml
 
 
composer.json
composer.json
 
 
mago.toml
mago.toml
 
 
phpstan-baseline.neon
phpstan-baseline.neon
 
 
phpstan.neon
phpstan.neon
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 

Repository files navigation

Sentry for PHP

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

CI Coverage Status Latest Stable Version License Total Downloads Monthly Downloads Discord

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.

  • 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

  • Documentation
  • Discord
  • Stack Overflow
  • X Follow

License

Licensed under the MIT license, see LICENSE

About

The official PHP SDK for Sentry

sentry.io

Topics

crash-reportingcrash-reportserror-handlererror-monitoringhacktoberfestphpsdksentrysentry-clienttag-productionteam-web-backend

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1.9k stars

Watchers

84 watching

Forks

479 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.