Skip to main content

Sentry PHP SDK

Skill Verified Active
Part of:Sentry

Full Sentry SDK setup for PHP. Use when asked to "add Sentry to PHP", "install sentry/sentry", "setup Sentry in PHP", or configure error monitoring, tracing, profiling, logging, metrics, or crons for PHP applications. Supports plain PHP, Laravel, and Symfony.

Purpose

To automate and simplify the complex process of integrating Sentry into PHP applications, ensuring robust error monitoring, performance tracing, and other Sentry features are correctly configured.

Features

  • Detects PHP project framework (Laravel, Symfony, plain PHP)
  • Recommends and configures Sentry features (error monitoring, tracing, profiling, logging, crons)
  • Provides framework-specific installation and initialization steps
  • Guides through manual span and transaction creation for tracing
  • Offers detailed troubleshooting and verification steps

Use Cases

  • When asked to add Sentry to a PHP application.
  • When needing to configure error monitoring, tracing, profiling, or logging for PHP projects.
  • When setting up Sentry for Laravel, Symfony, or plain PHP applications.
  • When encountering issues with existing Sentry PHP SDK configurations.

Non-Goals

  • Configuring Sentry for non-PHP platforms (e.g., JavaScript, Python).
  • Writing application logic or fixing bugs within the PHP application itself.
  • Providing generic PHP development advice outside of Sentry integration.

Prerequisites

  • PHP 7.2 or later
  • Extensions: ext-json, ext-mbstring, ext-curl
  • Composer installed
  • Excimer PECL extension (for profiling, Linux/macOS only)

Installation

First, add the marketplace

/plugin marketplace add getsentry/sentry-for-ai
/plugin install sentry-for-ai@sentry-plugin-marketplace

Quality Score

Verified
95 /100
Analyzed about 15 hours ago

Trust Signals

Last commitabout 22 hours ago
Stars170
LicenseApache-2.0
Status
View Source

Similar Extensions

Sentry .NET SDK

99

Full Sentry SDK setup for .NET. Use when asked to "add Sentry to .NET", "install Sentry for C#", or configure error monitoring, tracing, profiling, logging, or crons for ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions, or any other .NET application.

Skill
getsentry

Sentry React SDK

100

Full Sentry SDK setup for React. Use when asked to "add Sentry to React", "install @sentry/react", or configure error monitoring, tracing, session replay, profiling, or logging for React applications. Supports React 16+, React Router v5-v7 non-framework mode, TanStack Router, Redux, Vite, and webpack.

Skill
getsentry

Sentry React Router Framework Sdk

100

Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.

Skill
getsentry

Sentry Python SDK

100

Full Sentry SDK setup for Python. Use when asked to "add Sentry to Python", "install sentry-sdk", "setup Sentry in Python", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.

Skill
getsentry

Sentry Svelte Sdk

99

Full Sentry SDK setup for Svelte and SvelteKit. Use when asked to "add Sentry to Svelte", "add Sentry to SvelteKit", "install @sentry/sveltekit", or configure error monitoring, tracing, session replay, or logging for Svelte or SvelteKit applications.

Skill
getsentry

Sentry Next.js SDK Setup

99

Full Sentry SDK setup for Next.js. Use when asked to "add Sentry to Next.js", "install @sentry/nextjs", or configure error monitoring, tracing, session replay, logging, profiling, AI monitoring, or crons for Next.js applications. Supports Next.js 13+ with App Router and Pages Router.

Skill
getsentry

© 2025 SkillRepo · Find the right skill, skip the noise.