PHPackages                             easyconn/sentry - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. easyconn/sentry

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

easyconn/sentry
===============

A PHP client for Sentry (http://getsentry.com)

1.11.3(4y ago)041BSD-3-ClausePHPPHP ^5.3|^7.0

Since Jun 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/easyconn/php-sentry-1)[ Packagist](https://packagist.org/packages/easyconn/sentry)[ Docs](http://getsentry.com)[ RSS](/packages/easyconn-sentry/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (1)

 [ ![](https://camo.githubusercontent.com/370976471962ea536bf254c85b756ea56af48b88193fe69bf4ae266fb9f56be8/68747470733a2f2f73656e7472792d6272616e642e73746f726167652e676f6f676c65617069732e636f6d2f73656e7472792d6c6f676f2d626c61636b2e706e67) ](https://sentry.io)

Sentry for PHP
==============

[](#sentry-for-php)

> Please note that the `1.x` branch of the Sentry PHP SDK is no longer actively maintained and will only receive bug-fix and security updates.
>
> For the most recent Sentry PHP SDK see the [default branch](https://github.com/getsentry/sentry-php).

---

[![Build Status](https://camo.githubusercontent.com/bc9a04062e73b22bf24910f3b623895a79e6b04054dd7bbbec3e19fa1cdc072f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f67657473656e7472792f73656e7472792d7068702e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/getsentry/sentry-php)[![Total Downloads](https://camo.githubusercontent.com/5d508401a00ea26c8c0cec71b9b69ac5015363d80a061d3e4b83e508747d84c5/68747470733a2f2f706f7365722e707567782e6f72672f73656e7472792f73656e7472792f646f776e6c6f616473)](https://packagist.org/packages/sentry/sentry)[![Monthly Downloads](https://camo.githubusercontent.com/c9665d35dbde6baacc0fdbe5bc0954310eda49ae26c12a3fe78f2b6f8707624f/68747470733a2f2f706f7365722e707567782e6f72672f73656e7472792f73656e7472792f642f6d6f6e74686c79)](https://packagist.org/packages/sentry/sentry)[![Latest Stable Version](https://camo.githubusercontent.com/ef6790c1d440fc7515a4cda057d21a093ec6938c69d02eadccc3fc5ab67db3ff/68747470733a2f2f706f7365722e707567782e6f72672f73656e7472792f73656e7472792f762f737461626c65)](https://packagist.org/packages/sentry/sentry)[![License](https://camo.githubusercontent.com/06795fc7251edcef1f23a2dd5e0e15a51fe5c1ec8dd2a80e5a735c0986ded761/68747470733a2f2f706f7365722e707567782e6f72672f73656e7472792f73656e7472792f6c6963656e7365)](https://packagist.org/packages/sentry/sentry)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f482760e90c36a4f3a17ef99fcfb407d354323a5282ee07c64dfde4553063eca/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f67657473656e7472792f73656e7472792d7068702f6d61737465722e737667)](https://scrutinizer-ci.com/g/getsentry/sentry-php/)[![Code Coverage](https://camo.githubusercontent.com/1287680467822755add2eac60adfd0cafadaf807620596e057193ca1663c924f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f67657473656e7472792f73656e7472792d7068702f6d61737465722e737667)](https://scrutinizer-ci.com/g/getsentry/sentry-php/)

The Sentry PHP error reporter tracks errors and exceptions that happen during the execution of your application and provides instant notification with detailed informations needed to prioritize, identify, reproduce and fix each issue. Learn more about [automatic PHP error reporting with Sentry](https://sentry.io/for/php/).

Features
--------

[](#features)

- Automatically report (un)handled exceptions and errors
- Send customized diagnostic data
- Process and sanitize data before sending it over the network

Usage
-----

[](#usage)

```
// Instantiate a new client with a compatible DSN and install built-in
// handlers
$client = (new Raven_Client('http://public@example.com/1'))->install();

// Capture an exception
$event_id = $client->captureException($ex);

// Give the user feedback
echo "Sorry, there was an error!";
echo "Your reference ID is " . $event_id;
```

For more information, see our [documentation](https://docs.getsentry.com/hosted/clients/php/).

Integration with frameworks
---------------------------

[](#integration-with-frameworks)

Other packages exists to integrate this SDK into the most common frameworks.

### Official integrations

[](#official-integrations)

The following integrations are fully supported and maintained by the Sentry team.

- [Symfony](https://github.com/getsentry/sentry-symfony)
- [Laravel](https://github.com/getsentry/sentry-laravel)

### 3rd party integrations

[](#3rd-party-integrations)

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

- [Nette](https://github.com/Salamek/raven-nette)
- [ZendFramework](https://github.com/facile-it/sentry-module)
- [WordPress](https://wordpress.org/plugins/wp-sentry-integration/)
- [Drupal](https://www.drupal.org/project/raven)
- [OpenCart](https://github.com/BurdaPraha/oc_sentry)
- [Magento2](https://github.com/justbetter/magento2-sentry)
- [October CMS](https://github.com/OFFLINE-GmbH/oc-sentry-plugin/)
- ... feel free to be famous, create a port to your favourite platform!

Community
---------

[](#community)

- [Documentation](https://docs.getsentry.com/hosted/clients/php/)
- [Bug Tracker](http://github.com/getsentry/sentry-php/issues)
- [Code](http://github.com/getsentry/sentry-php)
- [Mailing List](https://groups.google.com/group/getsentry)
- IRC (irc.freenode.net, #sentry)

Contributing
------------

[](#contributing)

Dependencies are managed through composer:

```
$ composer install

```

Tests can then be run via phpunit:

```
$ vendor/bin/phpunit

```

Tagging a Release
-----------------

[](#tagging-a-release)

1. Make sure `CHANGES` is up to date (add the release date) and `master` is green.
2. Create a new branch for the minor version (if not present):

```
$ git checkout -b releases/1.11.x

```

3. Update the hardcoded version tag in `Client.php`:

```
class Raven_Client
{
    const VERSION = '1.11.0';
}
```

4. Commit the change:

```
$ git commit -a -m "1.11.0"

```

5. Tag the branch:

```
git tag 1.11.0

```

6. Push the tag:

```
git push --tags

```

7. Switch back to `master`:

```
git checkout master

```

8. Add the next minor release to the `CHANGES` file:

```
## 1.12.0 (unreleased)

```

9. Update the version in `Client.php`:

```
class Raven_Client
{
    const VERSION = '1.12.x-dev';
}
```

10. Lastly, update the composer version in `composer.json`:

```
    "extra": {
        "branch-alias": {
            "dev-master": "1.12.x-dev"
        }
    }
```

All done! Composer will pick up the tag and configuration automatically.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1810d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4ac4a61a375acd610e910c3a85beace8bf6dedc6c26ce52ba590c094d4755ed?d=identicon)[zhuzhu](/maintainers/zhuzhu)

---

Top Contributors

[![zz](https://avatars.githubusercontent.com/u/41499?v=4)](https://github.com/zz "zz (3 commits)")

---

Tags

loglogging

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/easyconn-sentry/health.svg)

```
[![Health](https://phpackages.com/badges/easyconn-sentry/health.svg)](https://phpackages.com/packages/easyconn-sentry)
```

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k964.9M7.0k](/packages/monolog-monolog)[symfony/monolog-bundle

Symfony MonologBundle

2.9k249.1M1.6k](/packages/symfony-monolog-bundle)[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M273](/packages/sentry-sentry)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[rap2hpoutre/laravel-log-viewer

A Laravel log reader

3.2k14.7M71](/packages/rap2hpoutre-laravel-log-viewer)[sentry/sdk

This is a meta package of sentry/sentry. We recommend using sentry/sentry directly.

327134.8M151](/packages/sentry-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
