rainsens/dinglog

Send laravel log to DingTalk.

Installs: 131

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/rainsens/dinglog

0.0.1 2022-07-06 10:55 UTC

This package is auto-updated.

Last update: 2025-10-06 18:22:19 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).