xyu / dingtalk
简单的钉钉sdk
v1.0
2021-12-22 06:36 UTC
Requires
- php: >=7.1
- ext-curl: *
- ext-json: *
- ext-openssl: *
- ext-swoole: >=4.5
- hanson/foundation-sdk: ^5.0
Requires (Dev)
- hyperf/utils: ~2.2.0
Suggests
- hyperf/di: ~2.2.0
- hyperf/guzzle: ~2.2.0
This package is auto-updated.
Last update: 2024-12-22 13:11:50 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();