When we started working on Cleeng, we decided to choose CodebaseHQ as our project management and code hosting service. At some point we realised that we could benefit from having a small tool that will automate common tasks like creating topic branches for tickets, marking them as "completed", and so on.
In order to build such tool, I had to create a foundation: small library that can connect to CodebaseHQ API, fetch list of tickets, and post updates. I released it to public - just in case anyone else needed it.
Project is hosted on Github: PHP SDK for CodebaseHQ API