sentry-laravel icon indicating copy to clipboard operation
sentry-laravel copied to clipboard

The official Laravel SDK for Sentry (sentry.io)

Results 47 sentry-laravel issues
Sort by recently updated
recently updated
newest added

This implements (partially) #625. Laravel also has a `Illuminate\Notifications\Events\NotificationFailed`, however this event is actually unused because when a notification fails to sent it just throws an exception from the underlying...

Type: Improvement

### Problem Statement I would like to have traces for when scheduled commands run via the `Console\Kernel`. We have some heavy jobs that run each hour and they have started...

Type: Feature

### How do you use Sentry? Sentry SaaS (sentry.io) ### SDK version 4.1.0 ### Steps to reproduce 1. Enable Laravel instrumentation on an app 2. Using the Sentry UI, examine...

Improvement
Laravel

Doing the following: ```php \Illuminate\Database\Eloquent\Model::preventAccessingMissingAttributes(); \Illuminate\Database\Eloquent\Model::handleMissingAttributeViolationUsing( \Sentry\Laravel\Integration::missingAttributeViolationReporter() ); ``` Results in: ![image](https://github.com/getsentry/sentry-laravel/assets/1090754/389d9517-8bbd-4506-8263-ba780cca549c) Fixes #777.

Type: Feature

Based on the work of @stayallive made in #824 I added a reporter for MassAssignmentViolations.

Type: Feature

### Problem Statement I just stumble upon a feature in the [documentation ](https://laravel.com/docs/10.x/localization#handling-missing-translation-strings)of Laravel 10 that allows us to perform any action when the framework encounter a missing translation. ###...

Type: Feature

### Problem Statement Currently we have performance degradation after enabling `lazyLoadingViolationReporter` on our staging environment. Here is trace before enabling it: ![CleanShot 2023-11-22 at 19 13 56@2x](https://github.com/getsentry/sentry-laravel/assets/38136135/3664a566-d07b-492b-9b95-38ce864d3c16) And after enabling...

Type: Improvement

This works with: getsentry/sentry-php#1574, and is a PoC to show what that PR could be used for. It replaces compiled view paths with their non-compiled paths (the ones you would...

Type: Improvement

This refactors the way model violation reports to cleanup the code and remove duplication where possible. Also adds memoization (enabled by default) to prevent multiple reports in the same request....

Type: Improvement

See: https://develop.sentry.dev/sdk/performance/span-data-conventions/#web-server This is not ideal, but I think this is the best we can currently do since we don't have any cache spans other than these unless we decorate...

Type: Improvement