PHPackages                             apip/wallet - 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. [API Development](/categories/api)
4. /
5. apip/wallet

ActiveLibrary[API Development](/categories/api)

apip/wallet
===========

apip.io Wallet

03.1k↑44.4%PHP

Since Nov 11Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/apipio/wallet)[ Packagist](https://packagist.org/packages/apip/wallet)[ RSS](/packages/apip-wallet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

apip.io payment
===============

[](#apipio-payment)

BTC ETH USDT/USDC apip.io Payment Gateway

Laravel USDT 数字货币支付接口

[apip.io 官方](https://apip.io/)

#### 使用方法

[](#使用方法)

通过 composer 安装包（注意本包仅适用于 Laravel 框架，其他框架需要仿照修改）

```
composer require apip/wallet

```

然后在 *config/services.php* 增加配置信息，后可以在.env 定义相关信息：APIP\_APP\_ID，APIP\_APP\_KEY

```
    'apip' => [
        'uri' => env('APIP_URL', 'https://apip.io/api/'),
        'app_id' => env('APIP_APP_ID', 'wallet-OjZdTkYWJ1NEsvrFu5uD5iz94hiylIpvf2S8qSBNaGKLdVLUOVeeaDKios'),
        'app_key' => env('APIP_APP_KEY', '4XZym0Redk40fqKkx77qfkqBsCkfR6NTwNsMYSER4ywNhWsYuhNh9KItgKJMJ21a'),
    ],
```

如图：

[![](config.png)](config.png)

然后在 ***.env*** 添加设置 APIP\_APP\_ID、APIP\_APP\_KEY

#### 接口方法

[](#接口方法)

```
# 初始化
$apip = new \Apip\Wallet\Apip();

# 创建所有协议的钱包，可能会消耗一点时间，建议使用下面，创建指定协议
$apip->create('test_label')

# 创建指定协议
$apip->create('test_label', 'erc20')

# 创建指定协议，支持多个协议多个币种
$apip->create('test_label', 'bsc20,erc20')
$apip->create('test_label', 'bnb,bsc20')

# 提现 使用热钱包提现
$apip->create('1.00', '0x0000towallet', 'bsc20_usdt')

# 提现 指定发送钱包来提现
$apip->create('1.00', '0x0000towallet', 'bsc20_usdt', '0x000from_wallet')

// 获得汇总数据
$apip->data('bsc20_usdt');

// 获得汇总数据 支持多个协议多个币种
$apip->data('bnb,bsc20_usdt');

// 汇总钱包
$apip->collect('bsc20_usdt');

// 汇总钱包 支持多个协议多个币种
$apip->collect('bnb,bsc20_usdt');

# 接受支付回调在方法开头调用以下方法验证签名和各个请求参数，不合格抛出异常，可以使用try/catch进行处理
$apip->validate();
```

#### 官方网站

[](#官方网站)

[apip.io 官方](https://apip.io/)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance47

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/112699917?v=4)[apipio](/maintainers/apipio)[@apipio](https://github.com/apipio)

---

Top Contributors

[![phpmac](https://avatars.githubusercontent.com/u/86544347?v=4)](https://github.com/phpmac "phpmac (4 commits)")[![apipio](https://avatars.githubusercontent.com/u/112699917?v=4)](https://github.com/apipio "apipio (3 commits)")

### Embed Badge

![Health badge](/badges/apip-wallet/health.svg)

```
[![Health](https://phpackages.com/badges/apip-wallet/health.svg)](https://phpackages.com/packages/apip-wallet)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
