snowsoft / oalog-viewer
Log viewer for open admin
0.01
2023-10-02 22:06 UTC
Requires
- php: >=7.0.0
- snowsoft/open-admin: >=v0.01
Requires (Dev)
- phpunit/phpunit: ~6.0
README
Installation
$ composer require snowsoft/oalog-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).