ofi / mobilepulsa
由 teguhrijanandi02@gmail.com 开发的 Mobilepulsa.net PHP 包
v1.0
2020-12-07 07:19 UTC
Requires
- filp/whoops: ^2.9
- ofi/deteksinohpindonesia: ^1.4
This package is auto-updated.
Last update: 2024-09-10 13:07:37 UTC
README
Mobilepulsa.net PHP 包是我为 mobilepulsa.net 开发的。这个 SDK 正在建设中,如需信息,请联系我。谢谢
#mobilepulsa.com #mobilepulsa.net #mobilepulsa #teguh02 #pulsa
安装
- 您可以使用 composer 通过以下类型安装:
composer require ofi/mobilepulsa
- 或者您可以下载此存储库,并别忘了从 composer 导入自动加载文件(autoload.php)https://github.com/teguh02/mobilePulsanet-Sdk/blob/master/vendor/autoload.php
- 享受它
如何使用
- 此 SDK 参考 mobilepulsa 文档 https://developer.mobilepulsa.net/documentation
- 请在此处查看 index.php 文件 https://github.com/teguh02/mobilePulsanet-Sdk/blob/master/index.php
- 您可以查看导入的文件如下
在第 9 行到 16 行中 20c6684
/** * 导入类 class contoh(在 example 文件夹内) */ include __DIR__ . '/example/checkBalance.php'; include __DIR__ . '/example/prepaid.php'; include __DIR__ . '/example/callbackSample.php'; include __DIR__ . '/example/postpaid.php'; include __DIR__ . '/example/train.php'; - 您可以通过打开示例文件夹内的所有样本文件(一个接一个),并查看每个方法的注释来了解如何使用它们。