ergebnis/agent-detector
Detect whether your PHP code is running under an AI agent. This Composer package checks environment variables for 30+ agents like Claude Code, Codex, Cursor, and Copilot, exposing a simple Detector class with one isAgentPresent() method.
zizmor by @localheinz in https://github.com/ergebnis/agent-detector/pull/17renew.yaml into configuration by @localheinz in https://github.com/ergebnis/agent-detector/pull/29ubuntu-24.04 instead of ubuntu-latest by @localheinz in https://github.com/ergebnis/agent-detector/pull/86https instead of http for monthly downloads badge by @localheinz in https://github.com/ergebnis/agent-detector/pull/87rector/rector by @localheinz in https://github.com/ergebnis/agent-detector/pull/100ergebnis/.github by @localheinz in https://github.com/ergebnis/agent-detector/pull/103CLINE_ACTIVE environment variable is set by @localheinz in https://github.com/ergebnis/agent-detector/pull/118GOOSE_TERMINAL environment variable is set by @localheinz in https://github.com/ergebnis/agent-detector/pull/119GROK_AGENT environment variable is set by @localheinz in https://github.com/ergebnis/agent-detector/pull/120JUNIE_DATA or JUNIE_SHIM_PATH environment variables are set by @localheinz in https://github.com/ergebnis/agent-detector/pull/121AGENT_CONTEXT_OUT or AGENT_DISPLAY_OUT environment variables are set by @localheinz in https://github.com/ergebnis/agent-detector/pull/123OPENCLAW_SHELL environment variable is set by @localheinz in https://github.com/ergebnis/agent-detector/pull/124Full Changelog: https://github.com/ergebnis/agent-detector/compare/1.2.0...1.3.0
Full Changelog: https://github.com/ergebnis/agent-detector/compare/1.1.1...1.2.0
Full Changelog: https://github.com/ergebnis/agent-detector/compare/1.1.0...1.1.1
CURSOR_EXTENSION_HOST_ROLE environment variable is set by @localheinz in https://github.com/ergebnis/agent-detector/pull/2Full Changelog: https://github.com/ergebnis/agent-detector/compare/1.0.1...1.1.0
Detector by @localheinz in https://github.com/ergebnis/agent-detector/pull/1Full Changelog: https://github.com/ergebnis/agent-detector/commits/1.0.1
How can I help you explore Laravel packages today?