New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

lobotomised/laravel-sql-logger

Simple way to log your SQL queries
4,489 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

feyman/laravel-sql-logger

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

5,800 4
lingxi/laravel-sql-logger

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

1,726 0
doctrine/dbal

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

651,963,193 9,701
laravel/framework

The Laravel Framework.

610,364,751 34,988
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444

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