lobotomised/laravel-sql-logger

Simple way to log your SQL queries
4,481 1
Install
composer require lobotomised/laravel-sql-logger
Latest Version:1.3.0
PHP:^8.2
Laravel:11 · 12 · 13
Older releases:8 · 9 · 10
License:MIT
Last Updated:Jun 15, 2026
Links: GitHub  ·  Packagist
Maintainer: lobotomised

Laravel SQL Logger

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This package allows you to log all your SQL queries in a log file

Installation

You can install the package via composer

composer require --dev lobotomised/laravel-sql-logger

By default, no query is log. Logging will be enabled when DB_DEBUG is true.

Testing

composer test

Related Packages

lingxi/laravel-sql-logger

A tool to log all queries for laravel/lumen application.

1,726 0
feyman/laravel-sql-logger

A tool to log all queries for laravel/lumen application.

5,800 4
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441

Version History

Version Released PHP Laravel License
1.3.0 ^8.2 ^11.0|^12.0|^13.0 MIT
1.2.0 ^8.2 ^11.0|^12.0 MIT
1.1.0 ^8.1 ^9.0|^10.0 MIT
1.0.0 ^8.0 ^8.0|^9.0 MIT