rodrigopedra/laravel-query-logger is a Laravel package for laravel query logger.
It currently has 11 GitHub stars and 12.053 downloads on Packagist (latest version v8.0.0).
Install it with composer require rodrigopedra/laravel-query-logger.
Discover more Laravel packages by rodrigopedra
or browse all Laravel packages to compare alternatives.
Last updated
Writes all queries to the log when APP_DEBUG=true.
This package tries to replace the bindings with their values so SQL queries becomes easier to debug.
composer require rodrigopedra/laravel-query-logger --dev
As releases 3.x+ requires at least Laravel version 5.5, the service provider should be configured automatically using Laravel's package auto-discovery.
If you are not using pakacge auto-discovery, you will need to add the provider to your config/app.php:
// in your config/app.php add the provider to the service providers array
'providers' => [
/* ... */
'RodrigoPedra\QueryLogger\QueryLoggerServiceProvider',
]
This package is open-sourced software licensed under the MIT license