senfenico/senfenico-php
最新稳定版本:v0.3.0
Composer 安装命令:
composer require senfenico/senfenico-php
包简介
Senfenico payment API sdk
README 文档
README
The Senfenico PHP library provides convenient access to the Stripe API from applications written in the PHP language.
Requirements
PHP 7.3.0 and later.
Composer
You can install the bindings via Composer. Run the following command:
composer require senfenico/senfenico-php
To use the bindings, use Composer's autoload:
require_once 'vendor/autoload.php';
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php file.
require_once '/path/to/senfenico-php/init.php';
Getting Started
Simple usage looks like:
$senfenico = new \Senfenico\Senfenico('sk_test_...'); $charge = $senfenico->charge->create([ 'amount' => 1000, 'phone' => '76xxxxxx', 'provider' => 'orange_bf' ]); echo $charge;
Documentation
See the PHP API docs.
统计信息
- 总下载量: 90
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-05