Among countless other logging apps I’ve chosen to evaluate Sentry for our webapp.
Once logged in I was greeted with a nice on-boarding tutorial that lets you select what stack you’re using.
I chose “PHP + Monolog”, which is what we use.
The composer require instructions technically finish installing without errors, however, this is an old codebase that no longer works. The example code fails to init().
So after scratching my head for a while I decided to go with the PHP stack instead of “PHP + Monolog” --> same problem.
The correct composer require command is sentry/sdk, not sentry/sentry.
These faulty on-boarding instructions caused me an hour or two of grief, which isn’t a good thing when evaluating what otherwise looks like a beautiful SaaS app.
I hope someone can fix it for future customers.