laravel/pao
Agent-optimized output for PHP tools. Detects AI agents (Claude Code, Cursor, Devin, Gemini CLI, etc.) and replaces verbose PHPUnit/Pest/Paratest/PHPStan/Rector and Laravel Artisan output with minimal structured JSON (and cleaner Artisan text). Zero config; human terminal output unchanged.
true/false strings not converting to booleans).For Executives: "PAO cuts AI token costs by 99.8% for test outputs and 75% for Artisan commands—directly addressing our $X/month spend on AI-driven QA. With zero configuration, it auto-detects AI agents (Claude, Cursor) and serves structured JSON while keeping CLI output unchanged. The latest v1.1.1 fixes ensure no lost test results during crashes and correct boolean parsing for env vars—critical for reliability. This is a low-risk, high-impact upgrade to stabilize our AI workflows and reduce costs without disrupting teams."
For Engineering Leaders: *"PAO solves two key pain points in our AI-assisted workflows:
APP_DEBUG=true) now convert correctly.
It’s one composer command—no config, no breaking changes. Your CLI stays the same, but AI agents get lean, structured data for faster, cheaper processing. Let’s deploy this to cut token waste and improve debugging."*For DevOps/Platform Teams: *"PAO standardizes AI input formats across PHP tools, ensuring consistent JSON output for our internal LLM agents. The v1.1.1 fixes resolve:
false strings vs. actual booleans).
It auto-detects AI contexts and cleans Artisan output—no changes to your pipelines. Zero risk, 100% compatibility with our Laravel/PHP stack. Let’s reduce noise in our AI inputs and improve reliability."*For Developers: "Tired of AI agents choking on verbose test output? PAO auto-swaps your CLI output to JSON when running in tools like Cursor or Claude—but your terminal stays the same. It even fixes crashes (v1.1.1) and cleans up Artisan commands for AI parsing. Just install it, and your tests become AI-friendly without effort. Try it—your future self will thank you."
How can I help you explore Laravel packages today?