承接 madbob/laravel-log2rss 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

madbob/laravel-log2rss

Composer 安装命令:

composer require madbob/laravel-log2rss

包简介

Laravel logs accessible in RSS

README 文档

README

This package generates an handy RSS feed from the Laravel logs.

Under the hood, extends Raphaël Huchet's Laravel Log Viewer to extract logs from filesystem.

Installation

composer require madbob/laravel-log2rss
php artisan vendor:publish --tag=log2rss-config

By defalt, the log is published in yourbaseurl.com/logs (is it suggested to include a prefix to your route, see below).

Usage

In the config/log2rss.php file you find a few options.

  • middleware: array of middleware groups to handle the RSS requests. You can use this to protect the route, enforce some cache or whatever. Default: [] (empty)
  • prefix: by default the URL to which RSS is published is /logs, and you can here define a prefix for it (perhaps some random string, or even a substring of env('APP_KEY'), to hide the path and make it a little less accessible even without having to implement authenticated access in a middleware). Default: '' (empty)
  • log_level: minimum log level for the items to include into the feed. Default: warning
  • limit: limit of items to include into the feed. Default: 20

Please note this package doesn't performs well with Laravel's single logging channel, as it generates files too large to be handled and are rejected by Laravel Log Viewer. The adoption of daily channel is suggested.

License

This code is free software, licensed under the The GNU General Public License version 3 (GPLv3). See the LICENSE.md file for more details.

Copyright (C) 2022 Roberto Guido bob@linux.it

统计信息

  • 总下载量: 1.8k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2017-11-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固