Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/open-admin-org/log-viewer
Log viewer for open-admin
https://github.com/open-admin-org/log-viewer
Last synced: 9 days ago
JSON representation
Log viewer for open-admin
- Host: GitHub
- URL: https://github.com/open-admin-org/log-viewer
- Owner: open-admin-org
- License: mit
- Created: 2022-05-11T10:19:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T10:11:49.000Z (over 1 year ago)
- Last Synced: 2024-10-12T07:10:54.837Z (26 days ago)
- Language: PHP
- Size: 27.3 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Log viewer for open-admin
============================[![StyleCI](https://styleci.io/repos/491059283/shield?branch=main)](https://styleci.io/repos/491059283)
[![Packagist](https://img.shields.io/github/license/open-admin-org/log-viewer.svg?style=flat-square&color=brightgreen)](https://packagist.org/packages/open-admin-ext/log-viewer)
[![Total Downloads](https://img.shields.io/packagist/dt/open-admin-ext/log-viewer.svg?style=flat-square)](https://packagist.org/packages/open-admin-ext/log-viewer)
[![Pull request welcome](https://img.shields.io/badge/pr-welcome-green.svg?style=flat-square&color=brightgreen)]()## Screenshot
![image](https://user-images.githubusercontent.com/86517067/167827896-7a426d57-ee14-48a3-83e2-eae434d090e0.png)
## 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
```php
'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)](LICENSE).