Laravel Query Monitor

Fund package maintenance!

Installs: 64 174

Dependents: 0

Suggesters: 1

Security: 0

Stars: 271

Watchers: 10

Forks: 34

Open Issues: 4

1.0.2 2021-03-04 14:35 UTC

This package is auto-updated.

Last update: 2023-09-09 15:49:31 UTC


Travis Packagist Downloads Packagist Version PHP version from Travis config

Supliu Laravel Query Monitor is library to monitoring Queries in real-time using Laravel Artisan Command. Basically it opens a socket listening and displays (on terminal) the queries executed in your Laravel application.


How to install

  1. Use composer to install this package
composer require --dev supliu/laravel-query-monitor
  1. Run publish command
php artisan vendor:publish --provider="Supliu\LaravelQueryMonitor\ServiceProvider"

How to use

Open you terminal and execute:

php artisan laravel-query-monitor

Now just perform some action in your application that performs some interaction with the database.


By default, the query listening service will run on host and port 8081. You can customize both the host and the port by providing the optional arguments:

php artisan laravel-query-monitor --host="" --port=8082

If you change the host and port parameters, you will also need to change the configuration file config/laravel-query-monitor.php.


The Laravel Query Monitor is open-sourced project licensed under the MIT license.