{"id":13405136,"url":"https://github.com/getsentry/sentry-php","last_synced_at":"2026-04-02T21:38:15.921Z","repository":{"id":2287287,"uuid":"3244931","full_name":"getsentry/sentry-php","owner":"getsentry","description":"The official PHP SDK for Sentry (sentry.io)","archived":false,"fork":false,"pushed_at":"2025-05-06T15:03:54.000Z","size":4066,"stargazers_count":1866,"open_issues_count":20,"forks_count":452,"subscribers_count":90,"default_branch":"master","last_synced_at":"2025-05-07T06:59:47.015Z","etag":null,"topics":["crash-reporting","crash-reports","error-handler","error-monitoring","hacktoberfest","php","sdk","sentry","sentry-client","tag-production","team-web-backend"],"latest_commit_sha":null,"homepage":"https://sentry.io","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pilu/fresh","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getsentry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["https://sentry.io/pricing/","https://sentry.io/"]}},"created_at":"2012-01-23T07:34:48.000Z","updated_at":"2025-04-25T14:36:07.000Z","dependencies_parsed_at":"2023-07-05T19:18:08.771Z","dependency_job_id":"5c1d5e78-d6e2-4325-9c8b-2724decb6050","html_url":"https://github.com/getsentry/sentry-php","commit_stats":{"total_commits":1414,"total_committers":237,"mean_commits":5.966244725738397,"dds":0.7475247524752475,"last_synced_commit":"bdcb19cb93f3aaa39004afdee30d161504d98fec"},"previous_names":[],"tags_count":147,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getsentry","download_url":"https://codeload.github.com/getsentry/sentry-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254042869,"owners_count":22004907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crash-reporting","crash-reports","error-handler","error-monitoring","hacktoberfest","php","sdk","sentry","sentry-client","tag-production","team-web-backend"],"created_at":"2024-07-30T19:01:56.292Z","updated_at":"2026-04-02T21:38:15.909Z","avatar_url":"https://github.com/getsentry.png","language":"PHP","readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://sentry.io/?utm_source=github\u0026utm_medium=logo\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://sentry-brand.storage.googleapis.com/github-banners/github-sdk-php.jpg\" alt=\"Sentry for PHP\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n_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 [\u003ckbd\u003e**Check out our open positions**\u003c/kbd\u003e](https://sentry.io/careers/)_\n\n# Official Sentry SDK for PHP\n\n[![CI](https://github.com/getsentry/sentry-php/workflows/CI/badge.svg?branch=master)](https://github.com/getsentry/sentry-php/actions?query=workflow%3ACI+branch%3Amaster)\n[![Coverage Status](https://img.shields.io/codecov/c/github/getsentry/sentry-php/master?logo=codecov)](https://codecov.io/gh/getsentry/sentry-php/branch/master)\n[![Latest Stable Version](https://poser.pugx.org/sentry/sentry/v/stable)](https://packagist.org/packages/sentry/sentry)\n[![License](https://poser.pugx.org/sentry/sentry/license)](https://packagist.org/packages/sentry/sentry)\n[![Total Downloads](https://poser.pugx.org/sentry/sentry/downloads)](https://packagist.org/packages/sentry/sentry)\n[![Monthly Downloads](https://poser.pugx.org/sentry/sentry/d/monthly)](https://packagist.org/packages/sentry/sentry)\n[![Discord](https://img.shields.io/discord/621778831602221064)](https://discord.gg/cWnMQeA)\n\nThe Sentry PHP error reporter tracks errors and exceptions that happen during the\nexecution of your application and provides instant notification with detailed\ninformation needed to prioritize, identify, reproduce and fix each issue.\n\n## Getting started\n\n### Install\n\nInstall the SDK using [Composer](https://getcomposer.org/).\n\n```bash\ncomposer require sentry/sentry\n```\n\n### Configuration\n\nInitialize the SDK as early as possible in your application.\n\n```php\n\\Sentry\\init(['dsn' =\u003e '___PUBLIC_DSN___' ]);\n```\n\n### Usage\n\n```php\ntry {\n    thisFunctionThrows(); // -\u003e throw new \\Exception('foo bar');\n} catch (\\Exception $exception) {\n    \\Sentry\\captureException($exception);\n}\n```\n\n## Official integrations\n\nThe following integrations are fully supported and maintained by the Sentry team.\n\n- [Symfony](https://github.com/getsentry/sentry-symfony)\n- [Laravel](https://github.com/getsentry/sentry-laravel)\n\n## 3rd party integrations using SDK 4.x\n\nThe following integrations are available and maintained by members of the Sentry community.\n\n- [Drupal](https://www.drupal.org/project/raven)\n- [WordPress](https://wordpress.org/plugins/wp-sentry-integration/)\n- Magento 2 by [JustBetter](https://github.com/justbetter/magento2-sentry) or by [Mygento](https://github.com/mygento/module-sentry)\n- [Joomla!](https://github.com/AlterBrains/sentry-joomla)\n- Neos Flow (and CMS) using [flownative/sentry](https://github.com/flownative/flow-sentry) or [networkteam/sentryclient](https://github.com/networkteam/Networkteam.SentryClient)\n- Neos CMS with specific Fusion handling using [networkteam/neos-sentryclient](https://github.com/networkteam/Netwokteam.Neos.SentryClient)\n- [TYPO3](https://github.com/networkteam/sentry_client)\n- ... feel free to be famous, create a port to your favourite platform!\n\n## 3rd party integrations using the old SDK 3.x\n\n- [ZendFramework](https://github.com/facile-it/sentry-module)\n- [Yii2](https://github.com/notamedia/yii2-sentry)\n- [Silverstripe](https://github.com/phptek/silverstripe-sentry)\n- [CakePHP 3.0 - 4.3](https://github.com/Connehito/cake-sentry)\n- [CakePHP 4.4+](https://github.com/lordsimal/cakephp-sentry)\n- [October CMS](https://github.com/OFFLINE-GmbH/oc-sentry-plugin)\n\n## 3rd party integrations using the old SDK 2.x\n\n- [OXID eShop](https://github.com/OXIDprojects/sentry)\n- [CakePHP](https://github.com/Connehito/cake-sentry/tree/3.x)\n\n## 3rd party integrations using the old SDK 1.x\n\n- [OpenCart](https://github.com/BurdaPraha/oc_sentry)\n- [TYPO3](https://github.com/networkteam/sentry_client/tree/2.1.1)\n\n## Community\n\n- [Documentation](https://docs.sentry.io/error-reporting/quickstart/?platform=php)\n- [Bug Tracker](http://github.com/getsentry/sentry-php/issues)\n- [Code](http://github.com/getsentry/sentry-php)\n\n## Contributing to the SDK\n\nPlease make sure to read the [CONTRIBUTING.md](CONTRIBUTING.md) before making a pull request.\n\nThanks to everyone who has contributed to this project so far.\n\n\u003ca href=\"https://github.com/getsentry/sentry-php/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.web.app/image?repo=getsentry/sentry-php\" /\u003e\n\u003c/a\u003e\n\n## Getting help/support\n\nIf 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](https://discord.com/invite/sentry). There is a ton of great people in our Discord community ready to help you!\n\n## Resources\n\n- [![Documentation](https://img.shields.io/badge/documentation-sentry.io-green.svg)](https://docs.sentry.io/quickstart/)\n- [![Discord](https://img.shields.io/discord/621778831602221064)](https://discord.gg/Ww9hbqr)\n- [![Stack Overflow](https://img.shields.io/badge/stack%20overflow-sentry-green.svg)](http://stackoverflow.com/questions/tagged/sentry)\n- [![X Follow](https://img.shields.io/twitter/follow/sentry?label=sentry\u0026style=social)](https://x.com/intent/follow?screen_name=sentry)\n\n## License\n\nLicensed under the MIT license, see [`LICENSE`](LICENSE)\n","funding_links":["https://sentry.io/pricing/","https://sentry.io/"],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fsentry-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetsentry%2Fsentry-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fsentry-php/lists"}