astrogoat / sentry
Monitor your application errors with Sentry
Fund package maintenance!
astrogoat
Installs: 1 687
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: ^8.2
- astrogoat/strata: ^0.7.12
- illuminate/contracts: ^8.37 || ^9.9|^10.0
- sentry/sentry-laravel: ^4.6
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- nunomaduro/collision: ^5.3|^7.0
- orchestra/testbench: ^6.15|^8.5
- pestphp/pest: ^1.18|^2.16
- pestphp/pest-plugin-laravel: ^1.1|^2.2
- spatie/laravel-ray: ^1.23
- vimeo/psalm: ^4.8|^5.15
README
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.