exbil/24fire-php-api
最新稳定版本:v1.0.0
Composer 安装命令:
composer require exbil/24fire-php-api
包简介
A full-featured implementation of the 24Fire API Client
README 文档
README
Note
Disclaimer: If you have a suggestion for a better name for a route, feel free to send your proposal via email to composer@exbil.net or create a pull request.
Getting Started
Requirements
⚒️ Install
In the root of your project execute the following:
composer require exbil/24fire-php-api
or add this to your composer.json file:
{
"require": {
"exbil/24fire-php-api": "^1.0"
}
}
Then perform the installation:
$ composer install --no-dev
📑 Usage
Search for the official API Documentation here.
You need an API Key for that.
🗃️ Basic
<?php // Require the autoloader require_once 'vendor/autoload.php'; // Use the library namespace use FireAPI\FireAPI; // Your API token $token = getenv('24FIRE_API_KEY'); // Create the API client with the sandbox option $client = new FireAPI($token, true); // 'true' activates the sandbox environment // Request to the server in the sandbox environment var_dump($client->rootServer()->getAll()); ?>
统计信息
- 总下载量: 65
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-03-24