承接 gayanhewa/log-view 相关项目开发

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

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

gayanhewa/log-view

最新稳定版本:1.0

Composer 安装命令:

composer require gayanhewa/log-view

包简介

View Log files

README 文档

README

Build Status Total Downloads

LogView

Simple PHP Library that lets you load your log files for viewing.

Useage :

        // Path to log files
        $path = __DIR__ . "/logs/";
        
        //Initialize the class
        $log = new Magelk\LogView();
        
        // Set Path
        $log->setPath($path);
        
        // Get file contents
        // $filename can be sent as a Request parameter 
        $contents = $log->getContent($filename);

How to use the Examples

Clone the Repository

    git clone https://github.com/gayanhewa/LogView.git

Navigate to the doc directory

    cd LogView/doc 

Run the PHP Server

    php -S localhost:8080

Point your browser to http://localhost:8080 and test the code. You can add more files to doc/logs folder for testing.

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-08