Skip to content

Commit

Permalink
Merge pull request #543 from tighten/ajm/flare
Browse files Browse the repository at this point in the history
Replace Bugsnag with Flare
  • Loading branch information
andrewmile authored Feb 7, 2025
2 parents 054210d + f891e05 commit 05e38fd
Show file tree
Hide file tree
Showing 6 changed files with 384 additions and 270 deletions.
5 changes: 2 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ SLACK_ENDPOINT=
CAPTCHA_PUBLIC=
CAPTCHA_PRIVATE=

BUGSNAG_API_KEY=
BUGSNAG_NOTIFY_RELEASE_STAGES=staging,production
FLARE_KEY=

VITE_DISABLE_LOCATION_LOOKUP=false
GOOGLE_MAPS_API_KEY=
Expand All @@ -58,7 +57,7 @@ GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_REDIRECT_URL="${APP_URL}login/github/callback"

LOG_STACK="daily,bugsnag"
LOG_STACK="daily"

SESSION_ENCRYPT=false
SESSION_PATH=/
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
use Spatie\LaravelFlare\Facades\Flare;

return Application::configure(basePath: dirname(__DIR__))
->withProviders([
\Laravel\Scout\ScoutServiceProvider::class,
\Laravel\Passport\PassportServiceProvider::class,
\Bugsnag\BugsnagLaravel\BugsnagServiceProvider::class,
\Creativeorange\Gravatar\GravatarServiceProvider::class,
\Atymic\Twitter\ServiceProvider\LaravelServiceProvider::class,
\Intervention\Image\ImageServiceProvider::class,
Expand Down Expand Up @@ -39,5 +39,5 @@
]);
})
->withExceptions(function (Exceptions $exceptions) {
//
Flare::handles($exceptions);
})->create();
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"php": "^8.3",
"algolia/algoliasearch-client-php": "^3.3",
"blade-ui-kit/blade-icons": "^1.7",
"bugsnag/bugsnag-laravel": "^2.28",
"cknow/laravel-money": "^8.3",
"creativeorange/gravatar": "^1.0",
"doctrine/dbal": "^3.9",
Expand All @@ -44,6 +43,7 @@
"livewire/livewire": "^3.5",
"predis/predis": "^1.1",
"recaptcha/php5": "^2.0",
"spatie/laravel-flare": "^1.1",
"staudenmeir/eloquent-has-many-deep": "^1.20",
"symfony/http-client": "^7.0",
"symfony/intl": "^7.0",
Expand Down
Loading

0 comments on commit 05e38fd

Please sign in to comment.