mvd81/laravel-logreader
最新稳定版本:1.2.0
Composer 安装命令:
composer require mvd81/laravel-logreader
包简介
A Laravel client package to read /search and browse log files for logreader.dev
README 文档
README
This is the client package for logreader.dev. Install it on your Laravel application to allow the Logreader to remotely read your log files via a secure API.
Installation
composer require mvd81/laravel-logreader
Configuration
Publish the config file:
php artisan vendor:publish --tag=logreader-config
Token
Add the token you received from the Logreader application to your .env:
LOGREADER_TOKEN=your-token-here
You can find this token in the logreader.dev dashboard after registering your application.
Options
| Option | Env variable | Default | Description |
|---|---|---|---|
enabled |
LOGREADER_ENABLED |
true |
Enable or disable the API |
token |
LOGREADER_TOKEN |
null |
Token provided by the Logreader app |
exclude_logs |
LOGREADER_EXCLUDE_LOGS |
'' |
Comma-separated list of files/patterns to exclude |
To disable the logreader without removing the package:
LOGREADER_ENABLED=false
To exclude specific log files or directories:
LOGREADER_EXCLUDE_LOGS=passwords.log,private/*,*.tmp
License
MIT
统计信息
- 总下载量: 118
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-26