Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emtiazzahid/git-log-laravel
Git Log Viewer for Laravel
https://github.com/emtiazzahid/git-log-laravel
composer git gitlog laravel laravel-framework laravel-package laravel6 log packagist
Last synced: 3 months ago
JSON representation
Git Log Viewer for Laravel
- Host: GitHub
- URL: https://github.com/emtiazzahid/git-log-laravel
- Owner: emtiazzahid
- License: mit
- Created: 2020-01-22T11:29:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T06:09:54.000Z (almost 2 years ago)
- Last Synced: 2024-09-28T19:23:28.348Z (3 months ago)
- Topics: composer, git, gitlog, laravel, laravel-framework, laravel-package, laravel6, log, packagist
- Language: PHP
- Homepage:
- Size: 174 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Git Log Laravel
==================[![Packagist](https://img.shields.io/packagist/v/emtiazzahid/git-log-laravel.svg)](https://packagist.org/packages/emtiazzahid/git-log-laravel)
[![Packagist](https://img.shields.io/packagist/l/emtiazzahid/git-log-laravel.svg)](https://packagist.org/packages/emtiazzahid/git-log-laravel)
[![Packagist](https://img.shields.io/packagist/dm/emtiazzahid/git-log-laravel.svg)](https://packagist.org/packages/emtiazzahid/git-log-laravel)
[![Author](https://img.shields.io/badge/author-@emtiaz_zahid-blue.svg)](https://twitter.com/emtiaz_zahid)![capture d ecran 2020-1-23 a 10 37 18](https://github.com/emtiazzahid/git-log-laravel/blob/master/src/Example/screenshot.png?raw=true)
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](https://github.com/rap2hpoutre/laravel-log-viewer)Install (Laravel)
-----------------
Install via composer
```
composer require emtiazzahid/git-log-laravel
```Add Service Provider to `config/app.php` in `providers` section
```php
Emtiazzahid\GitLogLaravel\GitLogServiceProvider::class,
```Add or use existing route in your web routes file:
```php
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`.