emtiazzahid / git-log-laravel
Git Logs for Laravel
Installs: 2 409
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 1
Open Issues: 0
Type:laravel-package
Requires
- php: ^7.4|^8.0
- illuminate/support: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-25 10:13:58 UTC
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
.