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
Requires
- php: >=7.1.0
- ext-bcmath: *
- ext-json: *
- alibabacloud/dingtalk: ^1.3
- laravel/framework: >=5.5
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.5
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).