getsentry/sentry-php ? reverse-engineered prompt

Reverse engineered prompt

Build me the official PHP SDK for Sentry so a PHP app can easily report errors, exceptions, and other problems to Sentry.

I want it to be something I can install with Composer, initialize early in my app with a DSN, and then capture exceptions when something goes wrong. It should feel solid and production ready, with clear documentation, good tests, and support for common PHP frameworks and integrations where that makes sense.

Please make it easy for developers to plug into existing apps, send useful error details to Sentry, and keep the API simple enough that someone can get started quickly. If you need to check current Sentry docs or behavior, look them up online first.

Also make sure it’s set up like a real open source library, with sensible defaults, good error handling, and support for ongoing maintenance and upgrades.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab