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

1.7.0 2024-07-04 14:53 UTC

This package is auto-updated.

Last update: 2024-11-04 15:41:23 UTC


README

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.