定制 senfenico/senfenico-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-05