open-admin-ext / log-viewer
Log viewer for open admin
Installs: 5 831
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- php: >=7.0.0
- open-admin-org/open-admin: >=1.0.12
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-10-30 01:53:57 UTC
README
Screenshot
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).