astrogoat/sentry

Monitor your application errors with Sentry
6,678
Install
composer require astrogoat/sentry
Latest Version:1.13.0
PHP:^8.2
Laravel:8 – 11
License:MIT
Last Updated:Aug 25, 2025
Links: GitHub  ·  Packagist
Maintainer: tonning

Monitor your application errors with Sentry

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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

composer test

Releasing a new version

Use the included GitHub action to create a new release. Go to https://github.com/astrogoat/sentry/actions/workflows/release.yml 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 -> Settings -> Branches -> Main (edit) -> "Allow specified actors to bypass required pull requests"

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

coreproc/raven-laravel

A Laravel 5.1 library that easily integrates raven-php to centralize your logs u...

2,888 8
rcrowe/laravel-sentry

Tasty intergration of Laravel & Sentry for sweet reporting of your logs

2,757 15
jenssegers/raven

Sentry (Raven) error monitoring integration for Laravel projects

197,632 90
twineis/raven-php

Sentry (Raven) error monitoring for Laravel and Lumen with send in background vi...

18,108 11

Version History

Version Released PHP Laravel License
1.13.0 ^8.2 ^8.37 || ^9.9|^10.0|^11.0 MIT
1.12.0 ^8.2 ^8.37 || ^9.9|^10.0|^11.0 MIT
1.11.0 ^8.2 ^8.37 || ^9.9|^10.0|^11.0 MIT
1.10.0 ^8.2 ^8.37 || ^9.9|^10.0|^11.0 MIT
1.9.0 ^8.2 ^8.37 || ^9.9|^10.0|^11.0 MIT