ericeyang/yii2-payment

Alipay and WeChat payment for yii2

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

pkg:composer/ericeyang/yii2-payment

dev-master 2016-11-17 08:53 UTC

This package is not auto-updated.

Last update: 2025-12-21 02:44:56 UTC


README

Alipay and WeChat payment for Yii2.

Installation

Install With Composer

The preferred way to install this extension is through composer.

Either run

php composer.phar require ericeyang/yii2-payment "dev-master"

Or, you may add

"ericeyang/yii2-payment": "dev-master"

to the require section of your composer.json file and execute php composer.phar update.

Add the path alias

In your application config, add the path alias for this extension.

return [
    ...
    'aliases' => [
        '@ericeyang/payment' => 'path/to/your/extracted',
        // for example: '@ericeyang/payment' => '@vendor/ericeyang/yii2-payment',
        ...
    ]
];