spatie/laravel-artisan-dd
Run one-off Laravel code from the command line without opening Tinker. Use php artisan dd "User::first()" to execute expressions and dump results. Supports multiple expressions and short class names for quick debugging and inspection.
dd() calls, reducing context-switching and setup time.dd() isn’t a standard practice.For Executives:
"This package cuts debugging time in half by letting backend engineers run dd() directly from the command line—no need to launch Tinker. For teams shipping APIs or microservices, this means faster iterations and fewer blocked sprints. It’s a 5-minute setup with a 10x ROI in developer velocity."
For Engineering:
"Imagine debugging a failed job or API endpoint without firing up Tinker. Just run php artisan dd "Model::where(...)->get()" and see the dump instantly. It’s like var_dump() but for Laravel, and it integrates seamlessly with our existing Artisan workflows. Zero maintenance, MIT-licensed, and backed by Spatie’s reliable open-source ecosystem."
How can I help you explore Laravel packages today?