lgladdy/cubesensors
最新稳定版本:v2.0.1
Composer 安装命令:
composer require lgladdy/cubesensors
包简介
A CubeSensors API library for PHP
README 文档
README
A PHP library for the CubeSensors API
Usage
The library inherits the style of many OAuth libraries, like Abraham's TwitterOAuth library.
Use Composer to import the package:
"require": {
"php": ">=5.4.0",
"lgladdy/cubesensors": "v2.0.1" // Or "dev-master" if you want the latest code.
}
You can then import in your own PHP file if you want to go down that route:
require "vendor/autoload.php";
use lgladdy\CubeSensors\CubeSensors;
Alternatively, (or probably additionally!) check out /demo for an example of how the code should work (You'll need to copy /demo/config.dist.php to config.php and fill in the correct consumer keys you get from the "Your Apps" page on my.cubesensors.com.)
Todo
Write tests.
Version
2.0.1
Change Log
2.0.1
- This release hopefully fixes a bug with case sensitive file systems not being able to load the class.
2.0
- Made the library a composer compatible package
- Switch everything to be namespace and use composer style package name (See the /demo folder for example usage)
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-01-04