Download the PHP package xiaochengfu/yii2-alipay without Composer

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

yii2-alipay

支付宝的手机网站支付、扫码即时到账付款、Oauth授权、单笔转账整合,保证能够正常使用 Usage

Once the extension is installed, simply use it in your code by :

安装:

网页端使用:

1.在 config/main.php 添加如下配置

手机网站支付与单笔转账配置不同,所以在config/params.php添加

2.进入链接 扫码即时到账、手机网站支付进入方式:

扫码授权进入方式:

单笔转账进入方式:

3.如果想将业务代码移到backend项目下,可修改vendor/xiaochengfu/yii2-alipay/Module.php下的命名空间,要在backend/controllers下创建名为ZfbControllers的控制器

此时以下两种进入方式均可:

4.如有疑问,可在这里进行交流: https://github.com/xiaochengfu/yii2-alipay/issues/1 可联系qq:1033426413,验证回答:支付宝接入,我会到交流区查看的


All versions of yii2-alipay with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 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 xiaochengfu/yii2-alipay contains the following files

Loading the files please wait ....