SparkPHP Library

Hi,

Just to let the community know that I’ve created a PHP wrapper library for the Spark API. It exposes all methods of the API (I’ll add in published events support shortly) and is installable via composer so easy to drop into other projects or frameworks.

Please let me know if you have any questions or suggestions regarding the library.

8 Likes

Well done @garethtdavies!

This should make it much easier to create a web app with javascript that makes use of a simple REST API to a PHP page on a server which secures the access_token and device_id.

That would be a very useful example, maybe as a separate Git Repo.