Download the PHP package martialbe/laravel-dingtalk without Composer

On this page you can find all versions of the php package martialbe/laravel-dingtalk. 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 laravel-dingtalk

LaravelDingtalk

自用的Laravel Dingtalk包。

目前只实现了内部机器人和webhook机器人的使用方法。 还有很多功能没有完善

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

要求


安装


开始使用

  1. 创建配置文件

  2. 添加别名

  3. 使用

  4. 多帐号

可在配置文件中建立多个帐号,默认是default。 配置多个帐号后,可以通过别名直接使用


内部机器人

开始

发送普通消息

消息组装请看下面普通消息类型

批量发送单聊消息

批量撤回单聊消息

查看单聊阅读状态

发送群消息

撤回群消息

查看群阅读状态

发送互动卡片

关于 outTrackId, 包会自动生成outTrackId,你也可以通过直接在参数中包含自己的outTrackId

注册回调地址

发送单聊消息

发送群消息

更新卡片

发送模板单聊消息

发送模板群聊消息

webhook机器人

普通消息类型

  1. 文本消息

  2. Markdown消息

  3. Link消息

  4. SingleAction消息

  5. BtnsAction消息

  6. Image消息

  7. Feed消息

服务端

默认处理了服务端验证的逻辑

接收消息

中间件

你可以注册多个中间件来处理不同的情况:

你也可以直接编写一个中间件类:

中间件必须包含__invoke函数

注册中间件:

致谢

本项目是仿照easywechat编写的。 消息组装是参考notify

以上两个项目都是在MIT许可下授权。

License

MIT


All versions of laravel-dingtalk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
guzzlehttp/guzzle Version ^7.4
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 martialbe/laravel-dingtalk contains the following files

Loading the files please wait ....