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.
None
|
Package
|
Constraint
|
|---|---|
| ergebnis/composer-normalize | ^2.52.0 |
| ergebnis/license | ^2.7.0 |
| ergebnis/php-cs-fixer-config | ^6.60.2 |
| ergebnis/phpstan-rules | ^2.13.1 |
| ergebnis/phpunit-slow-test-detector | ^2.24.0 |
| ergebnis/rector-rules | ^1.18.3 |
| fakerphp/faker | ^1.24.1 |
| infection/infection | ^0.26.6 |
| phpstan/extension-installer | ^1.4.3 |
| phpstan/phpstan | ^2.1.54 |
| phpstan/phpstan-deprecation-rules | ^2.0.5 |
| phpstan/phpstan-phpunit | ^2.0.18 |
| phpstan/phpstan-strict-rules | ^2.0.12 |
| phpunit/phpunit | ^9.6.34 |
| rector/rector | ^2.5.8 |
How can I help you explore Laravel packages today?