bmatovu/laravel-beyonic 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

bmatovu/laravel-beyonic

最新稳定版本:v0.0.1

Composer 安装命令:

composer require bmatovu/laravel-beyonic

包简介

Laravel wrapper for Beyonic API

README 文档

README

Total Downloads Latest Stable Version License Code Quality Code Coverage Tests Documentation

Introduction

This package helps you integrate the Beyonic into your Laravel application.

Sign up and create your client application

Sandbox

Live

Installation

To get started, install the package via the Composer package manager:

composer require bmatovu/laravel-beyonic

Configuration customization

If you wish to customize the default configurations, you may export the default configurations using

php artisan vendor:publish --provider="Bmatovu\Beyonic\BeyonicServiceProvider" --tag="config"

Update the following settings in your environment file.

.env

+ BEYONIC_API_URI=https://api.beyonic.com/api/
+ BEYONIC_API_TOKEN=...
+ BEYONIC_API_VERSION=v3
+ BEYONIC_CURRENCY=BXC
+ BEYONIC_SEND_INSTRUCTIONS=true

Usage

use Bmatovu\Beyonic\Services\Collection;

$collection = new Collection();

// Request a user to pay you
$apiTransactionResponse = $collection->ask('+80000000004', 500);
$transaction = json_decode($apiTransactionResponse);

// Get transaction details
$apiTransactionResponse = $collection->get($transaction->id);

// Get transactions
$apiTransactionsResponse = $collection->all();

Reporting bugs

If you've stumbled across a bug, please help us by leaving as much information about the bug as possible, e.g.

  • Steps to reproduce
  • Expected result
  • Actual result

This will help us to fix the bug as quickly as possible, and if you wish to fix it yourself feel free to fork the package and submit a pull request!

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固