emtiazzahid/git-log-laravel
Composer 安装命令:
composer require emtiazzahid/git-log-laravel
包简介
Git Logs for Laravel
README 文档
README
TL;DR
Git Log Viewer for Laravel 5, 6, 7, 8 & 9. Install with composer, create a route to GitLogLaravelController. No public assets, no vendor routes, works with and/or without log rotate. Inspired by rap2hpoutre's Laravel log viewer
Install (Laravel)
Install via composer
composer require emtiazzahid/git-log-laravel
Add Service Provider to config/app.php in providers section
Emtiazzahid\GitLogLaravel\GitLogServiceProvider::class,
Add or use existing route in your web routes file:
Route::get('git-log', '\EmtiazZahid\GitLogLaravel\GitLogLaravelController@index')->name('git-log');
Go to http://myapp/git-log or some other route
Optionally publish git.blade.php into /resources/views/vendor/git-log-laravel/ for view customization:
php artisan vendor:publish \
--provider="EmtiazZahid\GitLogLaravel\GitLogServiceProvider" \
--tag=views
Troubleshooting
If you got a InvalidArgumentException in FileViewFinder.php error, it may be a problem with config caching. Double check installation, then run php artisan config:clear.
统计信息
- 总下载量: 2.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-23
