Skip to content

Integrate ArcaneDev/LogViewer in your Laravel-Backpack project

License

Notifications You must be signed in to change notification settings

eduardoarandah/backpacklogviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-Backpack-ArcaneDev-LogViewer

Integrate ArcaneDev/LogViewer in your Laravel-Backpack project

log-viewer

Requirements

Laravel Backpack

Installation

Make sure you have set your logs to "daily" in your .env file

LOG_CHANNEL=daily

Run this commands:

composer require eduardoarandah/backpacklogviewer

php artisan vendor:publish --provider="EduardoArandaH\BackpackLogViewer\BackpackLogViewerServiceProvider"

php artisan backpack:add-sidebar-content "<li class='nav-item'><a class='nav-link' href='{{route(\"log-viewer::logs.list\")}}'><i class='nav-icon fa fa-history'></i> {{ trans('Logs') }}</a></li>"

More options

More options available in /config/log-viewer.php

Documentation:

https://github.com/ARCANEDEV/LogViewer