bedelightful / easy-dingtalk
Package description here.
Installs: 0
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/bedelightful/easy-dingtalk
Requires
- php: >=8.1
- ext-json: *
- ext-openssl: *
- bedelightful/sdk-base: ~0.1
- guzzlehttp/guzzle: ^6.0|^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- mockery/mockery: ^1.4.4
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^9.5
Suggests
- hyperf/cache: Required to use the Hyperf Connector SDK.
- hyperf/config: Required to use the Hyperf Connector SDK.
- hyperf/di: Required to use the Hyperf Connector SDK.
- hyperf/logger: Required to use the Hyperf Connector SDK.
This package is auto-updated.
Last update: 2026-01-14 18:10:19 UTC
README
Easy DingTalk is an easy-to-use SDK for the DingTalk Open Platform, supporting PHP 8.1+. It provides flexible interfaces to interact with the DingTalk Open Platform, allowing developers to build DingTalk applications with ease.
Features
- Supports PHP 8.1+
- Developed based on PSR standards
- Supports Hyperf framework integration
- Flexible request assembly mechanism
- Comprehensive unit tests
- Supports major DingTalk Open Platform interfaces
Installation
composer require bedelightful/easy-dingtalk -vvv
Quick Start
Basic Usage
use BeDelightful\EasyDingTalk\OpenDevFactory; $factory = new OpenDevFactory([ 'app_key' => 'your_app_key', 'app_secret' => 'your_app_secret', ]); // Get access token $accessToken = $factory->getAccessToken(); // Use other interfaces...
Hyperf Integration
Add to config/autoload/dependencies.php:
return [ Delightful\EasyDingTalk\OpenDevFactory::class => function (ContainerInterface $container) { return new Delightful\EasyDingTalk\OpenDevFactory([ 'app_key' => config('dingtalk.app_key'), 'app_secret' => config('dingtalk.app_secret'), ]); }, ];
Development
Run Tests
composer test
Code Style Check
composer cs-fix
Static Analysis
composer analyse
Contributing
Pull Requests and Issues are welcome.
License
MIT