open-admin-ext/log-viewer

Log viewer for open admin

v1.0.6 2023-05-31 10:08 UTC

This package is auto-updated.

Last update: 2024-11-30 01:57:52 UTC


README

StyleCI Packagist Total Downloads Pull request welcome

Screenshot

image

Installation

$ composer require open-admin-ext/log-viewer

$ php artisan admin:import log-viewer

Open http://localhost/admin/logs.

Configuration

If your server doesn't allow you to access log files for example by blocking requests with '.log' in the url you can enable the following bypass function.

See config/admin.php and add in the extensions section

'extensions' => [
    'log-viewer' => [
        'bypass_protected_urls' => true,
        //'bypass_protected_urls_find' => ['.'],          // default ['.']
        //'bypass_protected_urls_replace' => ['[dot]'],   // default ['[dot]']
    ]
]

License

Licensed under The MIT License (MIT).