imokhles/backpacklogviewer

Integrate ArcaneDev/LogViewer in your Laravel-Backpack project

1.0.10 2021-08-25 17:11 UTC

This package is auto-updated.

Last update: 2024-10-29 06:31:03 UTC


README

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 imokhles/backpacklogviewer

php artisan vendor:publish --provider="iMokhles\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