Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 484 Bytes

File metadata and controls

15 lines (12 loc) · 484 Bytes

Sentry Laravel Example

This shows how to use Sentry in Laravel to capture errors/exceptions

Setup

  1. Make sure mysql DB is created (as per .env)
  2. $ composer install
  3. Set your DSN key in .env
  4. npm install -g @sentry/cli # remember to specify creds in env vars
  5. Run server. $ make
  6. Go to http://localhost:8000 to trigger error. You should see issue/event within Sentry project

Resources: