[Sentry][PHP] Log errors with PHP curl without SDK

I noticed Sentry supporting PHP SDK using Composer. I don’t want to use any library for it, don’t want to complicate things using Composer on Linux.

Is it possible and how to report/log errors with PHP curl? Any snippet, documentation, example for it?

Please see https://forum.sentry.io/t/how-can-i-post-with-curl-a-sentry-event-which-authentication-credentials/4759

Markus, thanks. Any up-to-date documentation what params Sentry expect to be sent?

Old documentation https://buildmedia.readthedocs.org/media/pdf/sentry/7.6.0/sentry.pdf shows another params.
Github and Sentry seems not having any example for PHP curl, except when using libraries, and likely all outdated.

Sentry customer service doesn’t want to answer such questions, instead says to post it here.