hasibkamal/view-logs
最新稳定版本:1.0.0
Composer 安装命令:
composer require hasibkamal/view-logs
包简介
To view laravel logs in details
README 文档
README
The package will help to view laravel logs easily.
Prerequisites
PHP >= 5.3.0
Installing
Install the package via Composer by following command:
composer require hasibkamal/view-logs
Once package installation done, register the service provider in config/app.php in the providers array like bellow:
providers' => [
...
HasibKamal\ViewLog\LogServiceProvider::class
]
For publishing views
php artisan vendor:publish \
--provider="HasibKamal\ViewLog\LogServiceProvider" \
--tag=views
Then add folloiwng route in your routes file:
Route::get('/logs', '\Hasibkamal\ViewLog\ViewLogController@index');
Now you can browse your laravel website logs using {your-website-url}/logs.
For example:
http://www.example.com/logs
Enjoy!
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-10