LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-php-sdk
or paste the link and ask your coding assistant to install it
https://github.com/getsentry/sentry-for-ai/tree/main/skills/sentry-php-sdk
View on GitHub

What This Skill Does

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.

Handles framework-specific wiring (Laravel, Symfony) in one place instead of requiring teams to stitch together middleware and service provider code.

When to use it

  • Adding sentry/sentry to a Laravel app
  • Instrumenting a Symfony service with tracing
  • Wiring Sentry into a plain PHP legacy codebase
  • Adding cron monitoring to a scheduled PHP job
  • Standardizing Sentry config across PHP projects