Skip to content

hzted123/dingtalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dingtalk

钉钉api工具

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist hzted123/dingtalk "*"

or add

"hzted123/dingtalk": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

Add the following in your console config:

return [
    ...
    'components' => [
        ...
        'dingtalk' => [
            'class' => 'hzted123\dingtalk\DingDingAPI',
        ],
    ]
];

Get Department list:

$data = Department::query();