Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.01 KB

README.md

File metadata and controls

34 lines (18 loc) · 1.01 KB

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