承接 topsoft4u/pq-api-connector 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

topsoft4u/pq-api-connector

最新稳定版本:1.0.1

Composer 安装命令:

composer require topsoft4u/pq-api-connector

包简介

Allows you to connect to API instances running on ProQoS platform.

README 文档

README

Type-safe PHP connector for websites using ProQoS backend services.

Requirements

  • Minimum PHP Version: 7.4
  • Dependencies: ext-curl, ext-json

Application

This connector can be used for the following websites:

Website 📕 Documentation
e-hedo.pl 📕 LINK
magboss.pl 📕 LINK
b2b.onesto-energy.pl 📕 LINK
hedo-pets.com 📕 LINK

Note: For each website, you need a separate API key. To get one, please use the contact form on specific website.

Installation

You can install the connector via Composer using the following command:

composer require topsoft4u/api-connector

Usage

Each method has its own example in the examples directory.

For explanation of each method, please refer to the API documentation links mentioned earlier.

Functions

  • Type-safe methods and responses with null-type support.
  • Client (connector) validations before sending requests.
  • Error handling with exceptions.
  • Option to change output language.
  • Option to change the output format (JSON/XML).
  • You can fetch the JSON/XML file without parsing (usable for testing).
  • Test mode for POST methods (sends data to the server, but it's not saved).

Releasing a new version

  1. Update the version in the composer.json file with bash /scripts/bump_version.sh.
  2. Finish the release with bash /scripts/commit_tag_push.sh - which will create a new tag and push it to the repository.

统计信息

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

GitHub 信息

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

其他信息

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