To show how Sentry works in an example web app that uses PHP Laravel
How to integrate the Sentry SDK into Laravel (https://docs.sentry.io/platforms/php/laravel/) trigger an error that gets sent as Event to Sentry.io Platform web.php has multiple endpoints for showing different ways that errors are handled
composer install
- Set your DSN key, projectID, and Sentry OrganizationID in
.env
- make
http://localhost:8000/handled
andhttp://localhost:8000/unhandled
to trigger errors
- docker build -t my-first-image .
- docker run -p 8000:8000 my-first-image
- make deploy_gcp