laravel/agent-detector
Lightweight PHP utility for detecting whether your Laravel/PHP app is running inside an AI agent or automated dev environment. Identifies known agents (e.g., Cursor, Gemini, Codex, Claude) via env vars, with a simple API and helper function.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| shipfastlabs/agent-detector | 0.89 | Lightweight PHP/Laravel utility to detect when your code runs inside an AI agent or automated dev environment. Checks common agent-specific environment variables (e.g., Cursor, Gemini, Codex, or custom) and returns agent status and name. | 73 | 70 | 10 | 203K | 0 | 22.4 | 40.1 | MIT | 1 month ago | |
| ergebnis/agent-detector | 0.88 | Detect whether an AI/dev agent is present by checking known environment variables. Supports Amp, Antigravity, Augment, Claude Code, OpenAI Codex, Cursor, Gemini CLI, GitHub Copilot, and more. Install via Composer and call Detector::isAgentPresent(). | 9 | 4 | 1 | 2M | 0 | 20.2 | 64.5 | MIT | 1 month ago |
How can I help you explore Laravel packages today?