Download the PHP package lfphp/weworksdk without Composer

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

企业微信SDK

声明

该SDK提供企业微信API部分功能对接,若发现SDK提供的接口方法不能满足当前的操作功能,请联系作者。 SDK不提供配置存储、授权具体流程实现、事件监听等具体技术流程逻辑,请在具体项目中实现该部分功能。 SDK中接口功能可能对企业微信API变更未能及时跟进,实际接口返回请自行保证。

安装

由于SDK部分功能依赖外部库(GuzzleHttp、LFPhp\Logger等),请使用composer安装使用。

使用

1. 授权

2、业务服务调用

注意:大部分接口调用逻辑在失败时,会以 BusinessException 方式抛出,如业务逻辑需要做规避,需要主动进行try catch容错。

3、事件处理

项目需主动开启回调URL监听捕获,再调用本SDK事件解析方法进行解析。

3、接口调用日志

本SDK远程接口调用日志采用LFPhp\Logger进行记录,如需捕捉、记录该部分日志,请使用LFPhp\Logger 提供方法进行编码。 举例:

更多日志记录、日志过滤请参考 LFPhp\Logger 公开库相关文档。


All versions of weworksdk with dependencies

PHP Build Version
Package Version
Requires lfphp/logger Version ^2.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 lfphp/weworksdk contains the following files

Loading the files please wait ....