Download the PHP package fengkui/xcx without Composer

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

Xcx

开发了多次小程序,每次都要翻文档、找之前的项目复制过来,费时费事,
为了便于小程序的开发,干脆自己去造轮子,整合小程序(微信、QQ、百度、字节跳动、钉钉、支付宝)相关开发。

!!请先熟悉 相关小程序 说明文档!!请具有基本的 debug 能力!!

欢迎 Star,欢迎 PR!

特点

运行环境

使用文档

支持的小程序

1、微信(Wechat)

method 描述
openid 获取小程序 openid
userPhone 获取用户手机号
accessToken 获取 access_token
send 微信小程序发送订阅消息
qrcode 获取小程序码或小程序二维码,图片 Buffer
decrypt 检验数据的真实性,并且获取解密后的明文
request 同城配送,封装加密请求

2、QQ(QQ)

method 描述
openid 获取小程序 openid
accessToken 获取 access_token
send 小程序发送订阅消息
qrcode 获取小程序二维码,图片 Buffer
decrypt 检验数据的真实性,并且获取解密后的明文

3、百度(Baidu)

method 描述
openid 获取小程序 openid
accessToken 获取 access_token
send 小程序发送订阅消息
qrcode 获取小程序二维码,图片 Buffer
decrypt 检验数据的真实性,并且获取解密后的明文

4、字节跳动(Bytedance)

method 描述
openid 获取小程序 openid
accessToken 获取 access_token
send 小程序发送订阅消息
qrcode 获取小程序二维码,图片 Buffer
decrypt 检验数据的真实性,并且获取解密后的明文

5、钉钉(Dingtalk)

method 描述
userid 获取userid
accessToken 获取 access_token
userInfo 获取用户信息
asyncSend 发送工作通知

6、支付宝(Alipay)

method 描述
token 获取小程序用户user_id及access_token
userInfo 获取用户信息
send 小程序发送模板消息
qrcode 小程序推广码,链接地址

安装

完善相关配置

使用说明

单独使用

公共使用

一起喝可乐

请备注一起喝可乐,以便感谢支持

LICENSE

MIT


All versions of xcx with dependencies

PHP Build Version
Package Version
Requires fengkui/supports Version *
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 fengkui/xcx contains the following files

Loading the files please wait ....