pavlyuts/porta-api 问题修复 & 功能扩展

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

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

pavlyuts/porta-api

最新稳定版本:0.2.6

Composer 安装命令:

composer require pavlyuts/porta-api

包简介

PortaOne billing API wrapper

README 文档

README

Purpose

This package intended to simplify communication to PortaOne billing system while creating user portal applications, integration and provisioning code. Build for composer with PSR-4 autoload.

Classes:

  • Billing class wrapping PortaBilling API. Used to create, read, change and remove objects in the billing system.
  • ESPF class wrapping ESPF API

Please, refer project Wiki for details and usage example.

Installation

In the Composer storage. Just add proper require section:

"require": {
    "pavlyuts/porta-api": "^0.1"
}

It is a good idea to fix the version you use. Don't use next version without review, I can't promose backward compatibility even will try to keep it. Please, review the changelog before to change used version.

Dependencies

  • php: ^7.2
  • guzzlehttp/guzzle: ^7.0

PortaOne documentation

Your API documentatnin is always available on your PortaBilling SIP server, same host as billing admin interface, at /doc/api/ path.

Please, also refer to PortaOne documentation. Mind your release!

Testing

Tested with PHPUnit 8.5 on php 7.2 and 7.4, up to 100% coverage, which does not mean everything will work as intended.

To test, install in dev mode and use:

  • composer test command from library root for run all standard modular tests
  • composer livetest to run a test against live PortaBilling server.

For live testing run livetest once and it will create config file templeate. Then edit the file to provide host, username and password or token and run livetest again. Do not forget to remove the config file after tests!

Manualy tested and used with PortaBilling release MR100.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固