Download the PHP package vinstone/dingtalk-notice without Composer

On this page you can find all versions of the php package vinstone/dingtalk-notice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dingtalk-notice

钉钉群自定义机器人消息通知laravel扩展包

机器人接入方式请先阅读 钉钉官方文档


介绍

dingtalk-notie 是钉钉群自定义机器人消息通知的Laravel扩展包,您可以通过集成此扩展包到项目里实现快捷的消息通知

要求

安装

推荐使用 composer 进行安装:

Laravel

Laravel 5.5+ 已经实现了扩展包发现机制,您不需要进行额外的加载操作,执行以下命令会自动发布配置文件dingtalk.php到您项目的配置文件当中

Lumen

Lumen 并未移植扩展包自动发现机制,所以需要手动加载扩展包并复制配置文件。

打开配置文件 bootstrap/app.php 并在大约 81 行左右添加如下内容:

将 vendor/vinstone/dingtalk-notice/config/dingtalk.php 复制到您项目配置文件目录config下


非 Laravel/Lumen 框架

无需考虑加载问题,请使用全局函数 \dingtalk() 或直接创建 \DingTalkNotice\Dingtalk 实例来发送消息


配置

打开配置文件 config/dingtalk.php,按如下格式进行配置

使用方法

文本类型消息

Link类型消息

Markdown类型消息

ActionCard类型消息

整体跳转类型

独立跳转类型

FeedCard类型消息

消息接收人

@其他人

or

or

@所有人

消息发送

容器解析

辅助函数 dingtalk

多机器人消息发送

容器解析

辅助函数 dingtalk


All versions of dingtalk-notice with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
guzzlehttp/guzzle Version ^6.2|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vinstone/dingtalk-notice contains the following files

Loading the files please wait ....