dev4born/logs 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

dev4born/logs

Composer 安装命令:

composer require dev4born/logs

包简介

Logs/events + API - Laravel

README 文档

README

Latest Version on Packagist Software License Total Downloads

Install

Via Composer

$ composer require dev4born/logs

Integration

In the $providers array add the service providers for this package.

dev4born\logs\LogsLaravelServiceProvider::class

Create config file config/logs.php and add the following lines.

/**
 *   
 *  Warning! You can only grant one permissions from 2 available
 *  
 *  @package dev4born\logs
 *  
 */
 
return [

    'settings' => [
	
    /**
	 *  
	 *  Secret key - unique address for accessing logs
	 *  
	 *  http://{your-project}/laravel/{secret-key}/logs
	 *  
	 */
	
        'secret' => '',

    /**
	 *  
	 *  Allowed permissions (middleware) for accessing logs
	 *  
	 *  http://{your-project}/laravel/view/logs
	 *  
	 */   
		
        'middleware' => [
            
        ],
		
    ],
	
];

You can specify 2 permissions (secret key or middleware) for accessing logs.

Usage

Secret key

http://{your-project}/laravel/{your-secret-key}/logs

Middleware

http://{your-project}/laravel/view/logs

JSON API

Secret key

http://{your-project}/laravel/{your-secret-key}/logs/json

Middleware

http://{your-project}/laravel/view/logs/json

Output

There are no problems.

{'error':'Everything functions properly.'}

There was an error.

{'error':'Perhaps an error occurred - check the logs/events.'}

Messages can be implemented in the dashboard.

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Security

If you discover any security related issues, please email: milosz.nowak@dev4born.pro instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Screenshots

Dashboard

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固