PHPackages                             haiaouang/alipay - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. haiaouang/alipay

ActiveLibrary[Payment Processing](/categories/payments)

haiaouang/alipay
================

The Hht alipay package.

1.0.3(8y ago)04911MITPHPPHP &gt;=5.5.9

Since Oct 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/haiaouang/alipay)[ Packagist](https://packagist.org/packages/haiaouang/alipay)[ Docs](https://github.com/haiaouang/alipay)[ RSS](/packages/haiaouang-alipay/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (1)

alipay
======

[](#alipay)

[![Latest Stable Version](https://camo.githubusercontent.com/d922aa14808dfa12b77e6941b12c8ddb48d3bf40d97d273b49e84e3f22dc65a9/687474703a2f2f7777772e6d616967756f65722e636f6d2f686169616f75616e672f616c697061792f737461626c652e737667)](https://packagist.org/packages/haiaouang/alipay)[![License](https://camo.githubusercontent.com/19ada0dbdb7ecee0492a5fafafda28ec9b1fc793bbcea4654fe6949b7c7f1b58/687474703a2f2f7777772e6d616967756f65722e636f6d2f686169616f75616e672f616c697061792f6c6963656e73652e737667)](https://packagist.org/packages/haiaouang/alipay)

laravel支付包手机支付包

安装
--

[](#安装)

在你的终端运行以下命令

`composer require haiaouang/alipay`

或者在composer.json中添加

`"haiaouang/alipay": "1.0.*"`

然后在你的终端运行以下命令

`composer update`

安装依赖包 [haiaouang/support](https://github.com/haiaouang/support)

安装依赖包 [haiaouang/payer](https://github.com/haiaouang/payer)

在配置文件中添加 config/app.php

```
    'providers' => [
        /**
         * 添加供应商
         */
        Hht\Payer\PayerServiceProvider::class,
        /**
         * 添加供应商
         */
        Hht\Support\ServiceProvider::class,
    ],
```

生成配置文件

`php artisan vendor:publish`

设置推送信息的参数 config/payers.php

调用
--

[](#调用)

修改config/payrs.php对应的配置

```
