docs(laravel): Add AI agent monitoring onboarding#118363
Conversation
| projectId={params.project.id} | ||
| minVersion={MIN_REQUIRED_VERSION} | ||
| packageName="sentry/sentry-laravel" | ||
| /> |
There was a problem hiding this comment.
Laravel SDK alert never shows
Low Severity
The Laravel agent monitoring intro uses SdkUpdateAlert with packageName sentry/sentry-laravel, but SdkUpdateAlert only maps Python and JavaScript SDK names to package names. Laravel project SDK rows never match, so the minimum-version warning never appears for php-laravel projects.
Reviewed by Cursor Bugbot for commit 77e4af9. Configure here.
77e4af9 to
d09a42c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d09a42c. Configure here.
| ), | ||
| ...(isPhpPlatform | ||
| ? [getPhpConversationVerifyStep()] | ||
| : agentMonitoringDocs.verify?.(docParams) || []), |
There was a problem hiding this comment.
PHP conversations skips verify
Medium Severity
For php-laravel projects, Conversations onboarding replaces agentMonitoringDocs.verify with only getPhpConversationVerifyStep(), so the guided /ai-test route and initial prompt() never appear. The final step uses ->continue('my-conversation-123', …) without any prior step that creates that conversation, so the flow cannot be completed from the docs alone.
Reviewed by Cursor Bugbot for commit d09a42c. Configure here.
d09a42c to
1bb5088
Compare
1bb5088 to
2d681cc
Compare
Add Laravel-specific agent monitoring setup instructions for laravel/ai and expose php-laravel as a supported platform for the agent monitoring and conversations onboarding flows. Refs TET-2515
2d681cc to
29f3501
Compare
cleptric
left a comment
There was a problem hiding this comment.
This is way too much text for "update SDK". This should all work by default. Conversation IDs are the exception, this part is good to have. Options that are enabled by default can be omitted. I would generally boil this down massively.


Adds Laravel-specific agent monitoring onboarding for
laravel/ai, including setup forsentry/sentry-laravel, tracing, prompt/response capture, and an example Laravel AI agent/tool. The agent monitoring and Conversations onboarding flows now recognizephp-laravelas a supported platform and show Laravel-specific conversation guidance usingConversational,RemembersConversations, and->continue().Closes TET-2515