在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):rap2hpoutre/laravel-log-viewer开源软件地址(OpenSource Url):https://github.com/rap2hpoutre/laravel-log-viewer开源编程语言(OpenSource Language):PHP 71.3%开源软件介绍(OpenSource Introduction):Laravel log viewerTL;DRLog Viewer for Laravel 5, 6, 7 & 8 (still compatible with 4.2 too) and Lumen. Install with composer, create a route to What ?Small log viewer for laravel. Looks like this: Install (Laravel)Install via composer composer require rap2hpoutre/laravel-log-viewer Add Service Provider to Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class, Add a route in your web routes file: Route::get('logs', [\Rap2hpoutre\LaravelLogViewer\LogViewerController::class, 'index']); Go to Install (Lumen)Install via composer composer require rap2hpoutre/laravel-log-viewer Add the following in $app->register(\Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class); Explicitly set the namespace in $router->group(['namespace' => '\Rap2hpoutre\LaravelLogViewer'], function() use ($router) {
$router->get('logs', 'LogViewerController@index');
}); Advanced usageCustomize viewPublish php artisan vendor:publish \
--provider="Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider" \
--tag=views Edit configurationPublish php artisan vendor:publish \
--provider="Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider" TroubleshootingIf you got a |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论