New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

colbeh/logs

laravel view daily logs.
131
Install
composer require colbeh/logs
Latest Version:1.2.1
License:MIT
Last Updated:Aug 12, 2023
Links: GitHub  ·  Packagist
Maintainer: sadeghbarout

Installation:

1- Composer require colbeh/logs

2- add this to config/app.php

    Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,

3- define gate in AppServiceProvider :

    Gate::define('viewLogs', function ($user) {
        return in_array($user->username, [
            'admin'
            // any admin username 
        ]);
    });

4- Go to

view daily logs :

    domain.com/log-viewer

view laravel log:

    domain.com/log-viewer/laravel

Upgrade:

    composer require colbeh/logs:x.x.x

Related Packages

sergiq/laravellog

Simple laravel log

11,944 0
coolonce/logger-interface

This package allows you to send data for logging to the HTTP daemon associated w...

4,640 1
imer/laravel-query-table

Laravel plugin for displaying query results as a table with built-in filtering/s...

2,101 0
laravel-dev-common/union-log

Laravel dev log util

28 0
jlxh/laravel-userlog

User log for laravel

19 2

Version History

Version Released License
1.2.1 MIT
1.2.0 MIT
1.1.0 MIT
1.0.3 MIT
1.0.2 MIT