resultsystems / monitor
0.3.2
2018-10-05 15:29 UTC
Requires
- php: >=7.0.0
- illuminate/support: >=5.5.0
- symfony/console: >=3.3.0
- symfony/process: >=3.3.0
This package is auto-updated.
Last update: 2021-05-30 12:20:28 UTC
README
==========
由于包 https://github.com/laravel/telescope 更好且有更多选项,因此此包已被弃用。
感谢超过2千次的安装。
适用于 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"
在您的 config/app.php 中,将 'ResultSystems\Monitor\MonitorServiceProvider::class' 添加到 'providers' 数组的末尾
'providers' => array( ... ... ResultSystems\Monitor\MonitorServiceProvider::class, ),
使用方法
跟踪 storage/logs/laravel.log
php artisan monitor:laravel
这将在 storage/logs 目录内创建一个 queries.log 文件并跟踪该文件。
php artisan monitor:queries
这将删除 queries.log。
php artisan monitor:queries --stop