sentry-php-sdk

Integrate Sentry SDK for error tracking and performance monitoring in PHP applications.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Himanshu040604/codex-skills-setup --skill sentry-php-sdk-himanshu040604
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-php-sdk
Source: https://github.com/Himanshu040604/codex-skills-setup/tree/main/assets/codex/skills/claude-import/skills/plugins/sentry%40claude-plugins-official/skills/sentry-php-sdk
Command: npx skills add https://github.com/Himanshu040604/codex-skills-setup --skill sentry-php-sdk-himanshu040604

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you integrate Sentry, a powerful error tracking and performance monitoring platform, into your PHP applications, ensuring you can quickly identify, diagnose, and resolve issues.

Core Features & Use Cases

  • Error Monitoring: Automatically capture unhandled exceptions and PHP errors.
  • Performance Tracing: Monitor request latency, database queries, and external HTTP calls.
  • Profiling: Analyze code execution with detailed performance profiles (Linux/macOS only).
  • Logging: Send structured logs directly to Sentry.
  • Use Case: When a user reports a bug in your Laravel application, this Skill can automatically capture the error, its stack trace, relevant request data, and performance metrics, allowing developers to pinpoint the root cause efficiently.

Quick Start

Use the sentry-php-sdk skill to add Sentry error monitoring and tracing to your PHP application.

Frequently Asked Questions about sentry-php-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Sentry error tracking to a PHP application?

Adding Sentry error tracking to a PHP application involves integrating the Sentry SDK to automatically capture unhandled exceptions and PHP errors. This provides comprehensive error monitoring and distributed tracing across plain PHP, Laravel, and Symfony frameworks.

Can I use Sentry performance tracing and profiling with Laravel and Symfony?

Yes, Sentry performance tracing and profiling work with Laravel and Symfony. You can monitor request latency, database queries, and external HTTP calls, while detailed performance profiles are available on Linux and macOS environments.

What is the best way to monitor PHP application errors and request latency?

The best way to monitor PHP application errors and request latency is by implementing Sentry SDK instrumentation. It captures unhandled exceptions, tracks database queries, and analyzes performance metrics to help developers diagnose root causes efficiently.

Does Sentry SDK support structured logging in PHP?

Yes, the Sentry SDK supports structured logging in PHP applications. You can send structured logs directly to Sentry alongside capturing errors and performance traces for comprehensive application monitoring.

Are there limitations when using Sentry profiling in PHP applications?

Yes, a limitation of Sentry profiling in PHP applications is that detailed performance profiles are supported only on Linux and macOS. Error tracking and performance tracing, however, function across plain PHP, Laravel, and Symfony.