PHPackages                             fly304625/sentry-php - 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. fly304625/sentry-php

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

fly304625/sentry-php
====================

Fork of a PHP client for Sentry (http://getsentry.com) that work also with php5.2/php5.6

1.6.2(9y ago)0271BSD-3-ClausePHPPHP &gt;=5.2.4

Since Feb 1Pushed 5y agoCompare

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

READMEChangelogDependencies (3)Versions (62)Used By (0)

fly304625/sentry-php
====================

[](#fly304625sentry-php)

[![Build Status](https://camo.githubusercontent.com/4a8a1a878f45286f40ca602a875fdfcef21f32601dd615be07c7ea870d871689/68747470733a2f2f7472617669732d63692e6f72672f666c793330343632352f73656e7472792d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fly304625/sentry-php)[![Latest Stable Version](https://camo.githubusercontent.com/cd25ee96979ec11aa067a13e0735f0a34749a5b64893096282bf774f23299e44/68747470733a2f2f706f7365722e707567782e6f72672f666c793330343632352f73656e7472792d7068702f762f737461626c653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fly304625/sentry-php)[![Total Downloads](https://camo.githubusercontent.com/37618317ba4633d94420d03426f7ea3b430f9aab6f9939b08d6303e44b29b293/68747470733a2f2f706f7365722e707567782e6f72672f666c793330343632352f73656e7472792d7068702f646f776e6c6f6164733f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fly304625/sentry-php)[![Latest Unstable Version](https://camo.githubusercontent.com/161d829ec17312794a3c93d19f14e393a46100661caeb3893dd2612bc9203dae/68747470733a2f2f706f7365722e707567782e6f72672f666c793330343632352f73656e7472792d7068702f762f756e737461626c653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fly304625/sentry-php)[![License](https://camo.githubusercontent.com/2a5d65d5acc6435868d9ef7edb9408d9a5802122ca2817e4b379e5ea2b0ad234/68747470733a2f2f706f7365722e707567782e6f72672f666c793330343632352f73656e7472792d7068702f6c6963656e73653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fly304625/sentry-php)[![Monthly Downloads](https://camo.githubusercontent.com/62012992cc6d144f08645d3688315b93d19ec6b961ae99805ac7ba42cfcd5036/68747470733a2f2f706f7365722e707567782e6f72672f666c793330343632352f73656e7472792d7068702f642f6d6f6e74686c793f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fly304625/sentry-php)[![Daily Downloads](https://camo.githubusercontent.com/da59058ef66e5f783766c0de73daf22af8307eddae1f45c66c543a557ca866e8/68747470733a2f2f706f7365722e707567782e6f72672f666c793330343632352f73656e7472792d7068702f642f6461696c793f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fly304625/sentry-php)

This project is a fork of official [PHP SDK v1.7](https://github.com/getsentry/sentry-php) for [Sentry](https://getsentry.com) to work even with php5.2, php5.6 This project already have fix for

Features
--------

[](#features)

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

Installation
------------

[](#installation)

There are various ways to install the PHP integration for Sentry.

```
$ git clone https://github.com/fly304625/sentry-php.git
or
$ composer require fly304625/sentry-php

```

Alternatively you can manually install it:

1. Download and extract the latest [sentry-php](https://github.com/fly304625/sentry-php/archive/master.zip) archive to your PHP project.
2. Require the autoloader in your application:

```
require_once '/path/to/Raven/library/Raven/Autoloader.php';
Raven_Autoloader::register();
```

Usage
-----

[](#usage)

```
// Instantiate a new client with a compatible DSN and install built-in
// handlers
$sentryClient = new Raven_Client('https://e9ebbd88548a441288393c457ec90441:399aaee02d454e2ca91351f29bdc3a07@app.getsentry.com/3235');
$sentryClient->install();

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

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

For more information, see the [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.

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

Community
---------

[](#community)

- [Documentation](https://docs.getsentry.com/hosted/clients/php/)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 75.8% 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 ~46 days

Recently: every ~33 days

Total

40

Last Release

3391d ago

Major Versions

0.22.0 → 1.0.02016-07-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/02a76d54ea69e9abb8e7b08ea2d49ff9d9f40d9c82c636a81b214cd818e01551?d=identicon)[fly304625](/maintainers/fly304625)

---

Top Contributors

[![dcramer](https://avatars.githubusercontent.com/u/23610?v=4)](https://github.com/dcramer "dcramer (577 commits)")[![nokitakaze](https://avatars.githubusercontent.com/u/9131758?v=4)](https://github.com/nokitakaze "nokitakaze (26 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (17 commits)")[![JellyBellyDev](https://avatars.githubusercontent.com/u/190820?v=4)](https://github.com/JellyBellyDev "JellyBellyDev (13 commits)")[![mvantellingen](https://avatars.githubusercontent.com/u/245297?v=4)](https://github.com/mvantellingen "mvantellingen (11 commits)")[![fly304625](https://avatars.githubusercontent.com/u/40563267?v=4)](https://github.com/fly304625 "fly304625 (10 commits)")[![mabrahamde](https://avatars.githubusercontent.com/u/1302147?v=4)](https://github.com/mabrahamde "mabrahamde (9 commits)")[![GromNaN](https://avatars.githubusercontent.com/u/400034?v=4)](https://github.com/GromNaN "GromNaN (9 commits)")[![jeromemacias](https://avatars.githubusercontent.com/u/582446?v=4)](https://github.com/jeromemacias "jeromemacias (9 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (8 commits)")[![mitsuhiko](https://avatars.githubusercontent.com/u/7396?v=4)](https://github.com/mitsuhiko "mitsuhiko (7 commits)")[![msabramo](https://avatars.githubusercontent.com/u/305268?v=4)](https://github.com/msabramo "msabramo (7 commits)")[![aschempp](https://avatars.githubusercontent.com/u/1073273?v=4)](https://github.com/aschempp "aschempp (6 commits)")[![ste93cry](https://avatars.githubusercontent.com/u/1770485?v=4)](https://github.com/ste93cry "ste93cry (6 commits)")[![mattrobenolt](https://avatars.githubusercontent.com/u/375744?v=4)](https://github.com/mattrobenolt "mattrobenolt (6 commits)")[![JonathanO](https://avatars.githubusercontent.com/u/1206546?v=4)](https://github.com/JonathanO "JonathanO (5 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (3 commits)")[![dknecht](https://avatars.githubusercontent.com/u/58620?v=4)](https://github.com/dknecht "dknecht (3 commits)")[![mgrinko](https://avatars.githubusercontent.com/u/3237782?v=4)](https://github.com/mgrinko "mgrinko (3 commits)")[![thomasbachem](https://avatars.githubusercontent.com/u/231538?v=4)](https://github.com/thomasbachem "thomasbachem (3 commits)")

---

Tags

loglogging

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  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)
