flipeaz342/ubiqfy-php-sdk 问题修复 & 功能扩展

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

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

flipeaz342/ubiqfy-php-sdk

最新稳定版本:v1.0.0

Composer 安装命令:

composer require flipeaz342/ubiqfy-php-sdk

包简介

PHP SDK for the Ubiqfy API, providing access to mobile products, transactions, and international services.

README 文档

README

This SDK provides a PHP client for the Ubiqfy API, allowing developers to integrate mobile product offerings, handle transactions, and access international services seamlessly.

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

To install the bindings via Composer:

composer require flipeaz342/ubiqfy-php-sdk

Or, add the following to composer.json:

{
  "require": {
    "flipeaz342/ubiqfy-php-sdk": "^1.0"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

<?php
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');




$apiInstance = new OpenAPI\Client\Api\PartnersAPIApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$request = new \OpenAPI\Client\Model\AuthenticateRequest(); // \OpenAPI\Client\Model\AuthenticateRequest

try {
    $result = $apiInstance->partnersAPIAuthenticate($request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartnersAPIApi->partnersAPIAuthenticate: ', $e->getMessage(), PHP_EOL;
}

API Endpoints

All URIs are relative to https://api.ubiqfy.com

Class Method HTTP request Description
PartnersAPIApi partnersAPIAuthenticate POST /Authenticate
PartnersAPIApi partnersAPICancelTransaction POST /CancelTransaction
PartnersAPIApi partnersAPIDoCalculateEstimatePrice POST /DoCalculateEstimatePrice
PartnersAPIApi partnersAPIDoTransaction POST /DoTransaction
PartnersAPIApi partnersAPIGetAvailableProduct POST /GetAvailableProduct
PartnersAPIApi partnersAPIGetAvailableProductByCode POST /GetAvailableProductByCode
PartnersAPIApi partnersAPIGetAvailableProductOptionByCode POST /GetAvailableProductOptionByCode
PartnersAPIApi partnersAPIGetAvailableProductTypes POST /GetAvailableProductTypes
PartnersAPIApi partnersAPIGetCountries POST /GetCountries
PartnersAPIApi partnersAPIGetInternationalMobileProducts POST /GetInternationalMobileProducts
PartnersAPIApi partnersAPIGetInternationalOperators POST /GetInternationalOperators
PartnersAPIApi partnersAPIGetInternationalPhoneNumberOptions POST /GetInternationalPhoneNumberOptions
PartnersAPIApi partnersAPIGetProductOptionPhoneNumber POST /GetProductOptionPhoneNumber
PartnersAPIApi partnersAPIGetTransaction POST /GetTransaction

Models

Authorization

Endpoints require authorization.

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: v1
    • Generator version: 7.17.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: unlicense
  • 更新时间: 2025-11-04