# Monitor log queries and laravel.log
Thanks for more than 2 thousand installations., (*1)
For Laravel 5.5-5.7
composer require resultsystems/monitor
or
In the **require** key of **composer.json** file add the following:
```php
"resultsystems/monitor": "~0.3"
In your config/app.php add 'ResultSystems\Monitor\MonitorServiceProvider::class' to the end of the 'providers' array:, (*2)
'providers' => array(
...
...
ResultSystems\Monitor\MonitorServiceProvider::class,
),
Usage:
This tailing storage/logs/laravel.log, (*3)
php artisan monitor:laravel
This will create a queries.log file inside of storage/logs directory and tailing the file., (*4)
php artisan monitor:queries
This will delete queries.log., (*5)
php artisan monitor:queries --stop