aeatech/cli-snapshot-profiler-newrelic-bundle
Symfony bundle for profiling CLI commands with New Relic snapshot/transactions. Supports production use, configurable via env vars, and can profile all commands or only selected command names. Requires PHP 8.2+ and the New Relic extension.
For Executives: "This package lets us profile our Symfony CLI commands in production—just like we do for web apps—using New Relic. For example, if our nightly data sync job is slowing down, we’ll finally see where the time is spent (database queries? external APIs?). This reduces fire-drills from performance issues in critical batch processes, saving ops costs and improving reliability. Setup is minimal (a Composer install + config), and it reuses our existing New Relic license. Low risk, high reward for observability."
For Engineering:
*"Need to debug why your php bin/console my:long-running-job is hitting timeouts in production? This bundle hooks into New Relic to give you CLI command traces, just like for web requests. Key benefits:
For DevOps/SRE: *"This solves the ‘black box’ problem for CLI tools in production. Right now, if a cron job fails silently or times out, we’re blind until a user reports it. With this, we’ll get:
How can I help you explore Laravel packages today?