rainsens/dinglog

Send laravel log to DingTalk.

0.0.1 2022-07-06 10:55 UTC

This package is auto-updated.

Last update: 2024-05-06 15:27:18 UTC


README

dinglog is provided pushing Laravel logs and exceptions to DingTalk message.

Requirements

  • PHP >= 7.1
  • Laravel >= 5.5.0

Installation

First, install laravel >= 5.5.

composer require rainsens/dinglog

Then run following command to publish config.

php artisan vendor:publish --provider="Rainsens\Dinglog\Providers\DinglogServiceProvider"

Usage

This package currently only support sending text,link and markdown 3 types of message.

Push text message.

Dinglog::text($message)

Push link message.

Dinglog::link($message)

Push markdown message.

Dinglog::markdown($message)

License

dinglog is licensed under The MIT License (MIT).