hasibkamal / view-logs
To view laravel logs in details
1.0.0
2024-06-10 09:23 UTC
Requires
- php: >=5.3.0
- illuminate/support: 4.2.*||5.*||^6.0||^7.0||^8.0||^9.0||^10.0||^11.0
This package is auto-updated.
Last update: 2026-03-10 13:40:29 UTC
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