devlau/runrunit
最新稳定版本:v1.6.0
Composer 安装命令:
composer require devlau/runrunit
包简介
SDK PHP (não oficial) para a API do RunRun.it (v1.0)
关键字:
README 文档
README
SDK PHP (não oficial) para integração com a API do RunRun.it (v1.0).
O modelo do código foi baseado no Laravel's Forge SDK.
Para mais informações sobre a API do Runrunit, consulte a documentação oficial.
Table of Contents
Installation
This package can be installed through Composer:
$ composer require devlau/runrunit
Make sure to use Composer's autoload:
Start by creating a new instance:
$runrunit = new Runrunit(RUNRUNIT_APP_KEY, RUNRUNIT_USER_TOKEN);
Your APP_KEY and USER_TOKEN can be found in your account on the Settings page.
Usage
Once instantiated, you can simply call one of the methods provided by the SDK:
$runrunit->projects();
This will provide you with a list of available projects.
To create a project, you can use the createProject method:
$project = $runrunit->createProject( 'Project name', 1, // Client ID );
When the request was successful, $project will contain a Project object with the project details.
Changelog
Refer to CHANGELOG for more information.
License
The MIT License (MIT). Refer to the License for more information.
统计信息
- 总下载量: 1.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-17