Download the PHP package xin6841414/work-wechat-robot without Composer

On this page you can find all versions of the php package xin6841414/work-wechat-robot. 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 work-wechat-robot

企业微信群机器人_Laravel

企业微信群机器人通知的 laravel扩展

Build Status Total Downloads StyleCI build status

安装

配置

修改配置文件

切换机器人

1、Text文本

1.1、text文本添加@某人

1.1.1 mentioned模式

1.1.2 contentAt模式

2. markdown类型

2.1 获取markdown消息实例

2.2 消息内容

2.2.1 无格式的直接调用

2.2.2 内容的特殊格式

2.3 发送消息

2.4 markdown支持contentAt语法,不支持手机号

3 图片消息

3.1 处理图片转base64,

3.2 文件md5

3.3 发送

4 news消息

4.1 添加一条图文消息

4.2 发送

5 文件类型

5.1 文件上传

- 文件素材需要提前上传,上传得到media_id,media_id三天有效
- media_id在同一企业内应用之间可以共享

5.2 文件上传接口

请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/webhook/upload_media?key=KEY&type=TYPE

使用multipart/form-data POST上传文件, 文件标识名为”media”
参数说明:

参数  必须  说明
key 是   调用接口凭证, 机器人webhookurl中的key参数
type    是   固定传file
POST的请求包中,form-data中媒体文件标识,应包含有 filename、filelength、content-type等信息

filename标识文件展示的名称。比如,使用该media_id发消息时,展示的文件名由该字段控制

6 参考文档

企业微信群机器人配置说明

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT


All versions of work-wechat-robot with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5 || ^8.0
guzzlehttp/guzzle Version ^7
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 xin6841414/work-wechat-robot contains the following files

Loading the files please wait ....