Package Data | |
---|---|
Maintainer Username: | jansenfelipe |
Maintainer Contact: | jansen.felipe@gmail.com (Jansen Felipe) |
Package Create Date: | 2020-04-27 |
Package Last Update: | 2024-05-20 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-15 15:22:54 |
Package Statistics | |
---|---|
Total Downloads: | 98,520 |
Monthly Downloads: | 9,539 |
Daily Downloads: | 81 |
Total Stars: | 284 |
Total Watchers: | 10 |
Total Forks: | 39 |
Total Open Issues: | 5 |
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.
composer require --dev supliu/laravel-query-monitor
php artisan vendor:publish --provider="Supliu\LaravelQueryMonitor\ServiceProvider"
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 0.0.0.0 and port 8081. You can customize both the host and the port by providing the optional arguments:
php artisan laravel-query-monitor --host="192.168.0.2" --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.