vietstars / logs-viewer
A Logs viewer
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:laravel-package
Requires
- php: >=8.0.0
Requires (Dev)
- orchestra/testbench: 3.7.*|^7.0
- phpunit/phpunit: ^7|^9.5.10
README
============
Compatible
Log Viewer for Laravel 10
Install via composer
composer require Vietstars/logs-viewer
Add the following in bootstrap/app.php
:
$app->register(\Vietstars\LogsViewer\LogsViewerServiceProvider::class);
Explicitly set the namespace in app/Http/routes.php
:
$router->group(['namespace' => '\Vietstars\LogsViewer'], function() use ($router) { $router->get('logs', 'LogsViewerController@index'); });
Customize view
Publish log.blade.php
into /resources/views/vendor/logs-viewer/
for view customization:
php artisan vendor:publish \
--provider="Vietstars\LogsViewer\LogsViewerServiceProvider" \
--tag=views
Edit configuration
Publish logviewer.php
configuration file into /config/
for configuration customization:
php artisan vendor:publish \
--provider="Vietstars\LogsViewer\LogsViewerServiceProvider"