{"id":87499,"library":"sentry-sentry","title":"Sentry PHP SDK","description":"PHP SDK for Sentry (http://sentry.io)","status":"active","version":"4.19.1","language":"php","source_language":null,"source_url":"https://github.com/getsentry/sentry-php","tags":["sentry","error-tracking","monitoring","logging","php"],"install":[{"cmd":"composer require sentry/sentry","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"SentrySdk","correct":"use Sentry\\SentrySdk;"}],"quickstart":{"code":"use Sentry\\SentrySdk;\nuse Sentry\\State\\Hub;\n\nSentrySdk::init(['dsn' => 'https://examplePublicKey@o0.ingest.sentry.io/0']);\nSentrySdk::getCurrentHub()->captureException(new \\Exception('Test error'));","lang":"php","description":"Initialize Sentry and capture an exception"},"warnings":[{"fix":"Ensure your environment meets these requirements before installation.","message":"The SDK requires PHP 7.2+ and the curl extension.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'error':11 'error-track':10 'log':14 'monitor':13 'php':2,4,15 'sdk':3,5 'sentri':1,7,9 'sentry.io':8 'track':12","created_at":"2026-06-19T08:19:10.116705+00:00","updated_at":"2026-06-19T08:19:10.116705+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://sentry.io","github":"https://github.com/getsentry/sentry-php","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability","logging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}