terzinnorbert/syncthing-php
Composer 安装命令:
composer require terzinnorbert/syncthing-php
包简介
Syncthing REST API calls implementation
README 文档
README
The Client implements the Syncthing provided REST API calls: https://docs.syncthing.net/dev/rest.html
Install
composer require terzinnorbert/syncthing-php
Usage
<?php
require 'vendor/autoload.php';
use SyncthingRest\Client;
$client = Client('http://localhost:8384','abcdabcd');
var_dump($client->getSystemConfig());
Helpers
convertTime($time)
Converts the syncthing provided time to Carbon time
Client::convertTime('2018-05-06T10:21:00.533401659Z');
统计信息
- 总下载量: 103
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-05-01