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

v0.1 2026-01-14 16:57 UTC

This package is auto-updated.

Last update: 2026-01-14 18:10:19 UTC


README

Latest Stable Version Total Downloads Build Status

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