Skip to content
This repository has been archived by the owner on May 30, 2021. It is now read-only.
/ monitor Public archive

Monitor logs queries.log and laravel.log

Notifications You must be signed in to change notification settings

resultsystems/monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Monitor log queries and laravel.log

==========

Package abandoned because the package: https://github.com/laravel/telescope be much better and with many options.

Thanks for more than 2 thousand installations.

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:

'providers' => array(
    ...
    ...
    ResultSystems\Monitor\MonitorServiceProvider::class,
),

Usage:

This tailing storage/logs/laravel.log

php artisan monitor:laravel

This will create a queries.log file inside of storage/logs directory and tailing the file.

php artisan monitor:queries

This will delete queries.log.

php artisan monitor:queries --stop