You can install the package via composer:
composer require bnhashem/debug-query --dev$users = User::where('email', 'test@test.com');
$users->sql();"select * from `users` where `email` = 'test@test.com'"The MIT License (MIT). Please see License File for more information.