shipfastlabs/agent-detector
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.
Full Changelog: https://github.com/laravel/agent-detector/compare/v2.0.1...v2.0.2
AgentDetector::AGENT_ENV_VARS visible by [@cosmastech](https://github.com/cosmastech) in https://github.com/laravel/agent-detector/pull/15Full Changelog: https://github.com/laravel/agent-detector/compare/v2.0.0...v2.0.1
Laravel\AgentDetector (formerly AgentDetector)AgentResult constructor now only accepts the $name (dropped isAgent from constructor, kept it as a public readonly property)Full Changelog: https://github.com/laravel/agent-detector/compare/v1.1.4...v2.0.0
Full Changelog: https://github.com/laravel/agent-detector/compare/v1.1.3...v1.1.4
Full Changelog: https://github.com/laravel/agent-detector/compare/v1.1.2...v1.1.3
Full Changelog: https://github.com/laravel/agent-detector/compare/v1.1.1...v1.1.2
Full Changelog: https://github.com/laravel/agent-detector/compare/v1.1.0...v1.1.1
Full Changelog: https://github.com/laravel/agent-detector/compare/v1.0.2...v1.1.0
Full Changelog: https://github.com/laravel/agent-detector/compare/v1.0.1...v1.0.2
Full Changelog: https://github.com/laravel/agent-detector/compare/v1.0.0...v1.0.1
Initial commit
Full Changelog: https://github.com/laravel/agent-detector/commits/v1.0.0
How can I help you explore Laravel packages today?