szymcode / sentry-substitute
Package intended to replace Sentry in daily work.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/szymcode/sentry-substitute
Requires
- php: ^8.1
- illuminate/support: 10.*
README
Package intended to replace Sentry in daily work. Handles errors in the web application and forwards them to the error panel. Link to Packagist
🛠️ Installation
• First make sure u have installed latest version of Composer.
• Install package in your Laravel project with Composer
composer require szymcode/sentry-substitute
❓ Usage
• Enable capturing exceptions to report them to the error panel by making the following changes to the App/Exceptions/Handler.php file:
use szymcode\sentry_substitute\ErrorHandling; public function register(): void { $this->reportable(function (Throwable $e) { ErrorHandling::getErrorMessage($e); // captures the error message and sends it to the /api/errors endpoint }); }