
Sentry Php Sdk
This is a comprehensive setup wizard that walks you through installing and configuring Sentry for PHP projects, whether you're running plain PHP, Laravel, or Symfony. It detects your framework, checks for existing Sentry installations, and recommends which features to enable (error monitoring, tracing, profiling, crons, metrics) based on what it finds in your codebase. The opinionated approach is helpful: instead of dumping configuration options on you, it scans composer.json and your file structure, then makes concrete recommendations. The references for each feature (error monitoring, tracing, profiling) are thorough, covering both auto-instrumentation for frameworks and manual instrumentation for custom code. Particularly useful if you're setting up Sentry for the first time and want guardrails instead of reading docs for an hour.
- skills.sh installs
- 2.3K
- GitHub stars
- 277
- last updated
- Aug 21, 2026
Install
$ npx -y skills add getsentry/sentry-for-ai --skill sentry-php-sdk --agent claude-codeInstalls into .claude/skills of the current project.
Files
All Skills > SDK Setup > PHP SDK
Sentry PHP SDK
Opinionated wizard that scans your PHP project and guides you through complete Sentry setup.
Invoke This Skill When
- User asks to "add Sentry to PHP" or "setup Sentry" in a PHP app
- User wants error monitoring, tracing, profiling, logging, metrics, or crons in PHP
- User mentions
sentry/sentry,sentry/sentry-laravel,sentry/sentry-symfony, or Sentry + any PHP framework - User wants to monitor Laravel routes, Symfony controllers, queues, scheduled tasks, or plain PHP scripts
Note: SDK versions and APIs below reflect Sentry docs at time of writing (sentry/sentry 4.x, sentry/sentry-laravel 4.x, sentry/sentry-symfony 5.x). Always verify against docs.sentry.io/platforms/php/ before implementing.
Phase 1: Detect
Run these commands to understand the project before making recommendations:
# Check existing Sentry
grep -i sentry composer.json composer.lock 2>/dev/null
# Detect framework
cat composer.json | grep -E '"laravel/framework"|"symfony/framework-bundle"|"illuminate/'
Sponsors
Details
- Repository
- github.com/getsentry/sentry-for-ai
- Categories
- DevOps & CI/CD, Debugging, PHP & Laravel
- First seen
- May 16, 2026
More from getsentry/sentry-for-ai
All 31- Sentry Flutter Sdk2.3K
- Sentry Pr Code Review2.3K
- Sentry Go Sdk2.3K
- Sentry Svelte Sdk2.2K
- Sentry Ruby Sdk2.2K
- Sentry Elixir Sdk2.1K
- Sentry Tanstack Start Sdk2K
- Sentry React Router Framework Sdk1.9K
- Sentry Instrumentation Guide1.2K
- Sentry Fix Issues10.4K
- Sentry Create Alert4.2K
- Sentry React Native Sdk4.2K
- Sentry Nextjs Sdk3.7K
- Sentry Sdk Setup3.7K
- Sentry Workflow3.6K
- Sentry Cocoa Sdk3.6K
- Sentry Node Sdk3.4K
- Sentry React Sdk3.2K
- Sentry Sdk Upgrade3.2K
- Sentry Setup Ai Monitoring3K
- Sentry Browser Sdk3K
- Sentry Feature Setup2.9K
- Sentry Cloudflare Sdk2.7K
- Sentry Python Sdk2.6K