Download the PHP package ob/statusboard without Composer
On this page you can find all versions of the php package ob/statusboard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ob/statusboard
More information about ob/statusboard
Files in ob/statusboard
Package statusboard
Short Description Library to render widgets for panic's StatusBoard ipad app
License MIT
Homepage https://github.com/marcaube/StatusBoard
Informations about the package statusboard
StatusBoard
StatusBoard is a small PHP library that helps you render StatusBoard widgets like graphs and tables. It provides classes to handle tables, graphs and DIY widgets.
The library is built with a service-oriented architecture in mind. The renderers can easily be defined as services in you favorite framework and the decoupled code enables you to override any classes with your own implementation in a pinch.
Usage
Create a table widget
Add the table to StatusBoard app and you get this:
See the official Table tutorial for more infos.
Create a graph widget
Add the graph to StatusBoard app and you get this:
See the official Graph tutorial for more infos.
Create a DIY widget (a.k.a. HTML widget)
Add the graph to StatusBoard app and you get this:
See the official DIY tutorial for more infos.
Installation
-
Run
composer require ob/statusboard
- Now, you just have to
require
the autoloader in your project to have access to the library:
Voilà!
Requirements
- PHP >= 5.3
Contributing
See the CONTRIBUTING.md file.
Running the tests
If not done already, install the dependencies and generate the autoloader with composer:
Once installed, just run the following command:
You can also check for code coverage:
Credits
Thanks to Panic for their affordable, easy to hack StatusBoard application.
License
StatusBoard is released under the MIT License. See the bundled LICENSE file for details.