rainsens / dinglog
Send laravel log to DingTalk.
0.0.1
2022-07-06 10:55 UTC
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-03-06 17:12:22 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).