xyu/dingtalk

简单的钉钉sdk

v1.0 2021-12-22 06:36 UTC

This package is auto-updated.

Last update: 2022-04-22 07:32:28 UTC


README

钉钉

  • 支持 composer 安装
  • 支持 hyperf、laravel/lumen、tp 等框架

安装 - install

$ composer require xyu/dingtalk

发布配置 vendor:publish

Hyperf
php bin/hyperf.php vendor:publish xyu/dingtalk
Laravel
php artisan vendor:publish
Hyperf  调用:
$app = make(\Xyu\Dingtalk\Hyperf\Factory::class)->make()->text->message('message')->send();
fpm相关框架 调用:
$app = (new \Xyu\Dingtalk\DingApp(config('ding')))->text->message('message')->send();

https://github.com/laohekou/dingtalk