Query Monitor is a Laravel package by Supliu that monitors real-time queries using an artisan command:
Supliu Query Monitor is a library for monitoring Queries in real-time using Laravel Artisan Command. Basically, it opens a socket listening and displays (on a terminal) the queries executed in your Laravel application.
Image credit: Supliu Query Monitor Repo
The CLI runs in the foreground and updates the console when new queries run in the application:
php artisan laravel-query-monitor # You can also specify the host and port php artisan laravel-query-monitor \ --host="192.168.0.2" \ --port=8082
Under the hood, this package uses ReactPHP, an “Event-driven, non-blocking I/O with PHP.” This query monitor package is an excellent example of using React PHP’s
Connector classes to communicate between the application and the open socket.
You can learn more about this package, get full installation instructions, and view the source code on GitHub at supliu/laravel-query-monitorFiled in: News
- Backend Software Engineer (PHP Developer)
Austin TX, Bonita Springs FL
Certified eSupport Corp
- Backend PHP Developer
ABOUT YOU GmbH
- Full-Stack Engineer (Mid to Senior)
Remote (EST, CST)
- Senior Laravel Developer (AI Applications)
Remote from anywhere in the UK or from our London office
- Full Stack Engineer
Join 31,000+ others and never miss out on new tips, tutorials, and more.
Start coding in seconds on GitHub with GitHub Codespaces
GitHub just launched a new feature named Codespaces, which is a complete dev environment within GitHub that lets you…
Chipper CI (sponsor)
Chipper CI has launched publicly with a new 50-build free tier, annual plans, and configurable concurrency! Chipper C…