medianet-dev / backpack-log-viewer
Integrate ArcaneDev/LogViewer in your Laravel-Backpack project
Installs: 388
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Blade
Requires
- arcanedev/log-viewer: ^8.0
- illuminate/support: ^7.0|^8.0
This package is auto-updated.
Last update: 2024-10-24 02:42:56 UTC
README
Integrate ArcaneDev/LogViewer in your Laravel-Backpack project
Requirements
-
Daily logs enabled in your .env file
LOG_CHANNEL=daily
Installation
composer require medianet-dev/backpack-log-viewer
php artisan vendor:publish --provider="MedianetDev\BackpackLogViewer\BackpackLogViewerServiceProvider"
after running those commands add this line bellow to the sidebar_content.blade.php file.
<li class='nav-item'><a class='nav-link' href='{{ backpack_url('log-viewer')}}'><i class='nav-icon fa fa-history'></i> <span>Logs</span></a></li>
More options
More options available in /config/log-viewer.php
Documentation: