PHPackages                             wyrine/dingding - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. wyrine/dingding

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

wyrine/dingding
===============

A component to send message to dingding robot

v1.0(7y ago)118MITPHP

Since Aug 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/CrazyColma/DingDing)[ Packagist](https://packagist.org/packages/wyrine/dingding)[ Docs](https://github.com/CrazyColma/DingDing)[ RSS](/packages/wyrine-dingding/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

DingDing
========

[](#dingding)

A component to send message to dingding robot.

It uses guzzlehttp to send request. It simplfies the dingding robot api and you will find it's very simple.

You can use object to create dingding message and the component will help you to do the other things in background.

Installation
------------

[](#installation)

```
composer require wyrine/dingding
```

Suggest
-------

[](#suggest)

I suggest you to install a log component(for example [monolog](https://github.com/Seldaek/monolog)) to record the request and response.

Basic Usage
-----------

[](#basic-usage)

Before you go on,you **have to** know [how to get the dingding robot webhook url](https://open-doc.dingtalk.com/docs/doc.htm?treeId=257&articleId=105735&docType=1#s3) and config your won dingding robot webhook url.

Now,the component is only support two format messages.

### Text Message

[](#text-message)

```
