Download the PHP package maxsky/wechat-utils without Composer

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

WeChat Utils

该库用于微信相关接口调用

要求:PHP >= 7.2.5

安装:composer require maxsky/wechat-utils

App

App 目前仅完成一个方法用于微信授权登录获取用户信息

公众号

一般方法

微信网页授权登录获取用户信息

依赖 Access Token 的方法

一些需要 Access Token 的方法

JsAPI Ticket 方法

消息方法

小程序

登录

小程序登录,通过授权 code 获取 session 数组,小程序获取用户信息后传递 iv 及加密用户数据到后端,通过 decryptUserData 方法解密得到微信用户数据

获取用户手机号

需要先获取 Access Token,同公众号,注意区分缓存

企业微信

验证 URL 有效性

该阶段为企业微信后台设置 接收消息服务器Token 以及 EncodingAESKey 时使用

解密消息

第一步验证签名

解密

获取客户详情

需要先获取 Access Token

客户联系「联系我」管理

文档链接:https://developer.work.weixin.qq.com/document/path/92228

WeCom 实例化后,可使用 getContactWaygetContactWayListaddContactWayupdateContactWaydeleteContactWay 方法进行管理


All versions of wechat-utils with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5|^8.0
ext-curl Version *
ext-libxml Version *
ext-json Version *
ext-openssl Version *
ext-simplexml Version *
guzzlehttp/guzzle Version ^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 maxsky/wechat-utils contains the following files

Loading the files please wait ....