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

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

astrogoat/sentry
================

Monitor your application errors with Sentry

1.13.0(8mo ago)05.9k↓50%MITJavaScriptPHP ^8.2CI passing

Since Mar 25Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/astrogoat/sentry)[ Packagist](https://packagist.org/packages/astrogoat/sentry)[ Docs](https://github.com/astrogoat/sentry)[ GitHub Sponsors](https://github.com/astrogoat)[ RSS](/packages/astrogoat-sentry/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (19)Used By (0)

Monitor your application errors with Sentry
===========================================

[](#monitor-your-application-errors-with-sentry)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7c05788f87964e1fc23ba97403440c3adb43374be898c1be2b6b11cfdbd7694c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617374726f676f61742f73656e7472792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/astrogoat/sentry)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4192de55012cd4b863bd438d9c76926f982a00e54bd75b16a94edbe63e861161/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f617374726f676f61742f73656e7472792f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/astrogoat/sentry/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/f5623605e7cce71106986ba7c5d8b8b1521a057176932647c958d8504bd7efad/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f617374726f676f61742f73656e7472792f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/astrogoat/sentry/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f0f39ca45d57e0d51047d69e3239db2e604568a57f028d6aebbb37d1e7777a53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617374726f676f61742f73656e7472792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/astrogoat/sentry)

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

[](#installation)

You can install the package via composer:

```
composer require astrogoat/sentry
```

In the `register` method of your `App\Exceptions\Handler` class add the following:

```
$this->reportable(function (Throwable $e) {
    Astrogoat\Sentry\Sentry::captureException($e);
});
```

Testing
-------

[](#testing)

```
composer test
```

Releasing a new version
-----------------------

[](#releasing-a-new-version)

Use the included GitHub action to create a new release. Go to  click the "Run workflow" dropdown, select your version level bump, and click the "Run workflow" button. or run `gh workflow run release.yml` from your sentry directory if you have the GitHub CLI installed locally.

**Important**: Make sure that the Miles Bot user is included in the list of users who can bypass required pull request requirement Your repo -&gt; Settings -&gt; Branches -&gt; Main (edit) -&gt; "Allow specified actors to bypass required pull requests"

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Laura Tonning](https://github.com/tonning)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance58

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 58.1% 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 ~30 days

Recently: every ~50 days

Total

18

Last Release

266d ago

PHP version history (2 changes)1.0.0PHP ^8.0

1.1.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e9527ee45d5bf016d30f77ce27f61e964a126cf168255fe68625af4ae83bf26?d=identicon)[tonning](/maintainers/tonning)

---

Top Contributors

[![tonning](https://avatars.githubusercontent.com/u/7304678?v=4)](https://github.com/tonning "tonning (25 commits)")[![miles-bot](https://avatars.githubusercontent.com/u/75677136?v=4)](https://github.com/miles-bot "miles-bot (18 commits)")

---

Tags

laravelsentryastrogoat

###  Code Quality

TestsPest

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[spatie/laravel-slack-alerts

Send a message to Slack

3212.6M4](/packages/spatie-laravel-slack-alerts)[keepsuit/laravel-opentelemetry

OpenTelemetry integration for laravel

142347.8k](/packages/keepsuit-laravel-opentelemetry)[spatie/laravel-error-share

Share your Laravel errors to Flare

43965.6k3](/packages/spatie-laravel-error-share)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[tapp/filament-maillog

Filament plugin to view outgoing mail

2952.6k1](/packages/tapp-filament-maillog)

PHPackages © 2026

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