Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.86 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.86 KB

Git Log Laravel

Packagist Packagist Packagist Author

capture d ecran 2020-1-23 a 10 37 18

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.