Sentry Resolve is an open-source PHP package that automates common Sentry issue management tasks. It provides both framework-agnostic tools and Laravel integrations to streamline triaging, resolving, and tracking Sentry errors.
- Automation: Reduce manual steps when pulling and resolving Sentry issues.
- Framework neutrality: Provide a standalone CLI and simple PHP API usable in any project.
- Laravel experience: Offer first-class integration via service provider and artisan commands.
- Developer productivity: Enable teams to build workflows based on Sentry data quickly.
- PHP developers using Sentry for error tracking.
- Teams maintaining Laravel applications needing scheduled or automated Sentry workflows.
- DevOps engineers embedding Sentry automation in CI/CD pipelines.
-
Sentry API Client
- Typed PHP client wrapping Sentry REST API endpoints used by commands.
- Token, organization, and project configuration via environment variables or config files.
-
Console Commands
sentry:pull: generatesSENTRY_TODO.mdwith prioritized unresolved issues and removes the file when no matching issues are returned to prevent stale tasks. Provides helpful tips on how to resolve identified issues.sentry:resolve: marks one or more Sentry issues as resolved.sentry:debug: verifies local configuration.sentry:test-token: validates API tokens interactively.
-
Standalone CLI
- Binary executable bridging all console commands for non-Laravel usage.
-
Laravel Integration
- Auto-discovered service provider with publishable configuration.
- Container bindings for
SentryClientand artisan command registration. - Fails fast with a clear error when required Sentry configuration (token, organization, project) is missing.
-
AI Development Workflow Integration
- Built-in detection for
@programinglive/dev-workflow-mcp-server. - Automatic workflow guidance display in
sentry:pulloutput when the MCP server is detected. - Standardizes AI-assisted issue resolution with clear, actionable steps.
- Built-in detection for
-
Project Website
- dedicated landing page hosting documentation, installation steps, and CLI usage examples.
- Hosted on Netlify for high availability.
- Implementing full Sentry API coverage.
- Replacing Sentry dashboards or analytics.
- Managing Sentry releases or deployments (left to sentry-cli).
- Package downloads and GitHub stars.
- Adoption in automated workflows (documented by community contributions).
- Reduction in manual resolution steps reported by users.
- Scheduling helpers for periodic issue pulls.
- Additional analytics and reporting formats (e.g., Slack notifications).
- Symfony bundle or Laravel Nova integration.
- Configurable resolution states (
resolvedInNextRelease,ignored, etc.).
| Risk | Mitigation |
|---|---|
| Sentry API changes | Encapsulate requests via the SentryClient and track API deprecations. |
| Rate limits | Allow command options to tune query limits and encourage scheduled use. |
| Token leakage | Documentation emphasizes secure storage; tokens never logged except truncated preview. |
Last updated: 2025-12-29