hzted123/dingtalk

钉钉api工具

1.1 2017-09-12 06:43 UTC

This package is not auto-updated.

Last update: 2024-04-19 17:52:05 UTC


README

钉钉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();