hdevplus/connector-php
最新稳定版本:1.0.1
Composer 安装命令:
composer require hdevplus/connector-php
包简介
H:Dev+ PHP connector
README 文档
README
A PHP connector library for integrating your application with the H:Dev+ backend service.
This package allows you to send declarative API requests to the H:Dev+ backend with minimal configuration.
Installation
Install the package via Composer:
composer require hdevplus/connector-php
Usage
<?php use HDevPlus\Connector; $apiUrl = 'https://api.hdevplus.com'; // Replace with your actual API URL $secureKey = 'your-secure-key'; // Replace with your actual secure key // Step 1 – Specify the data identifier to request $requestData = [ 'dataID' => 'GET_POST_LIST' ]; // Step 2 – Invoke the connector with the request data $connector = new Connector($apiUrl, $secureKey); $response = $connector->request($requestData); // Step 3 – Process and utilize the response data print_r($response);
Requirements
- PHP >= 7.4
- PHP extensions:
- ext-curl
- ext-json
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-18