定制 ahmedofali/laravel-elk-log 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ahmedofali/laravel-elk-log

Composer 安装命令:

composer require ahmedofali/laravel-elk-log

包简介

Integrate laravel with elastic search for sending all logs to elastic search

README 文档

README

This package is simple initializer of elasticsearch with laravel

Installation

You can install the package via composer:

composer require ahmedofali/laravel-elk-log

Usage

Run the below command to get installation tips.

php artisan elk:installTips

Merge this with logging.php config file

return [

    'channels' => [
        'elastic' => [
            'driver' => 'monolog',
            'handler' => ElasticsearchHandler::class,
            'level' => 'debug',
            'formatter' => ElasticsearchFormatter::class
        ],
    ],

];

After you publish config file you will find new config file called elk.php add your environment configuration and you are ready to go with elasticsearch.

Credits

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固