ridrog/logviewer
This package provides a arcanedev/logviewer integration for ridrog/adminlte, (*1)
Setup ARCANEDEV/logviewer
- Composer require
composer require arcanedev/log-viewer
- Publish Config
php artisan log-viewer:publish --tag=config
- Set log to daily
do not puplish the views !!, (*2)
more info @ ARCANEDEV/LogViewer, (*3)
Install ridrog/logviewer
- Composer require
composer require ridrog/adminlte-logviewer
- Publish the Views
php artisan vendor:publish --tag=adminlte-logviewer-views
We're hijacking the views from the original package and exchange them with our own, that extends adminLte., (*4)
Sample Links for adminlte
'LogViewer' => [
'treeview' => true,
'name' => 'LogViewer',
'route_name' => 'log-viewer::dashboard',
'icon' => 'home',
'links' => [
[
'name' => 'Dashboard',
'route_name' => 'log-viewer::dashboard',
'icon' => 'home'
],
[
'name' => 'Logs',
'route_name' => 'log-viewer::logs.list',
'icon' => 'home'
],
]
],