承接 xutl/yii2-dingtalk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xutl/yii2-dingtalk

Composer 安装命令:

composer require xutl/yii2-dingtalk

包简介

The dingtalk extension for the Yii framework

README 文档

README

Latest Stable Version Total Downloads Dependency Status License

Installation

Next steps will guide you through the process of installing using composer. Installation is a quick and easy three-step process.

Step 1: Install component via composer

Either run

composer require --prefer-dist xutl/yii2-dingtalk

or add

"xutl/yii2-dingtalk": "~1.0.0"

to the require section of your composer.json.

Step 2: Configuring your application

Add following lines to your main configuration file:

    'components' => [
        'log' => [
            'targets' => [
                [
                    'class' => 'xutl\dingtalk\DingTalkTarget',
                    'dingTalk' => 'dingTalk',
                    'levels' => ['error', 'warning'],
                ],
            ],
        ],
        'dingTalk' => [
            'class' => 'xutl\dingtalk\DingTalk',
            'accessToken' => '1234567890',
        ],
    ],

Step 3: Start using

Yii::$app->dingTalk->sendText('我其实是一个机器人');
Yii::$app->dingTalk->sendLink('我其实是一个机器人','我其实是一个机器人我其实是一个机器人我其实是一个机器人我其实是一个机器人!','','https://www.dingtalk.com/');
Yii::$app->dingTalk->sendMarkdown('我其实是一个机器人','我其实是一个机器人');
Yii::$app->dingTalk->sendActionCard......

Read https://open-doc.dingtalk.com/docs/doc.htm?spm=a219a.7629140.0.0.p2lr6t&treeId=257&articleId=105733&docType=1 to continue

License

This is released under the MIT License. See the bundled LICENSE.md for details.

统计信息

  • 总下载量: 4.62k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固