CubeSensors for PHP
A PHP library for the CubeSensors API, (*1)
Usage
The library inherits the style of many OAuth libraries, like Abraham's TwitterOAuth library., (*2)
Use Composer to import the package:, (*3)
"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:, (*4)
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.), (*5)
Todo
Write tests., (*6)
Version
2.0.1, (*7)
Change Log
2.0.1, (*8)
- This release hopefully fixes a bug with case sensitive file systems not being able to load the class.
2.0, (*9)
- 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)