ccampbell/chromephp
ChromePhp sends PHP logs and variables directly to the Chrome DevTools console using the Chrome Logger protocol, so you can debug without cluttering page output or digging through server logs. Just include the class and call ChromePhp::log().
chromephp is a low-cost lever for reducing time spent on var_dump() / error_log() debugging loops. Useful as a data point when prioritizing "internal tooling and onboarding velocity" against feature work.require-dev convenience rather than staff an internal utility.X-ChromeLogger-Data response header, so it doesn't pollute response bodies. This supports decisions about how the team inspects backend state in API-first Laravel apps where dump()/dd() breaks client parsing.Adopt when:
require-dev, guard calls behind APP_DEBUG, and accept that the dependency may never be updated.Look elsewhere when:
spatie/ignition, Symfony VarDumper, Laravel Debugbar, Clockwork, or Ray (paid, but actively developed and framework-integrated).To executives: This is a small, free, development-only utility that lets engineers inspect PHP state directly in the browser console instead of adding temporary print statements and redeploying. It carries zero production footprint and no licensing cost. It is not a strategic platform choice and does not replace our logging or monitoring stack — it's a minor DX convenience to be approved, not funded. Expect modest, hard-to-quantify time savings on debugging; do not model it as a reliability improvement.
To engineering: One composer require-dev line and a static call get structured PHP data into the Chrome console via the X-ChromeLogger-Data header, which is genuinely useful for JSON/AJAX endpoints where dump() breaks the client. Caveats are real: it requires the ChromeLogger browser extension, only works in web requests (no CLI/queues), must run before headers are sent, and the package is effectively unmaintained — pin the version, keep it out of require, gate it behind debug flags, and treat it as replaceable. If we want a durable answer, budget a short evaluation of Debugbar/Clockwork/Ray instead.
How can I help you explore Laravel packages today?