Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Agent Detector Laravel Package

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.

View on GitHub
Deep Wiki
Context7
`1.2.0`

For a full diff see [1.1.1...1.2.0][1.1.1...1.2.0].

Added

  • Added support for detecting the presence of an agent when the COPILOT_CLI or PI_CODING_AGENT environment variables are set ([#10]), by [@raphaelstolt]
`1.1.1`

For a full diff see [1.1.0...1.1.1][1.1.0...1.1.1].

Fixed

  • Allowed installation on PHP 8.6 ([#4]), by [@localheinz]
`1.1.0`

For a full diff see [1.0.1...1.1.0][1.0.1...1.1.0].

Added

  • Added support for detecting the presence of an agent when the CURSOR_EXTENSION_HOST_ROLE environment variable is set ([#2]), by [@localheinz]
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin