Download the PHP package esd/wechat-plugin without Composer

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

ESD WeChat Plugin

ESD WeChat Plugin 是一个基于 Swoole 4.x 全协程支持的微信SDK库,告别同步阻塞,轻松编写高性能的微信公众号/小程序/开放平台业务接口

插件安装

添加 WeChatPlugin 插件

配置参数

在application-local.yml 中按需增加配置

获取实例

在开始操作之前需要获取一个实例,程序中使用以下方式获取实例

异常捕获

在调用方法时,如果传递了无效的参数或者发生网络异常,将会抛出 ESD\Plugins\WeChat\Exception\RequestError 或者 ESD\Plugins\WeChat\Exception\OfficialAccountError 类型的异常,开发者需要手工捕获该类异常进行处理,类似这样:

其他

Copyright


All versions of wechat-plugin with dependencies

PHP Build Version
Package Version
Requires esd/esd-core Version ~0.1
ext-json Version *
esd/cache-plugin Version ~0.1
esd/saber-plugin Version ~0.1
esd/redis-plugin Version ~0.1
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 esd/wechat-plugin contains the following files

Loading the files please wait ....