PHP SDK for API integration

Hello Community,

After years of using KoboToolbox API in PHP applications, I have extracted some of the code we developed and created a PHP SDK that makes it much easier to integrate the API in any PHP application.

This SDK provides a small, focused wrapper around common KoboToolbox API endpoints (v2). It includes helpers to:

  • List and inspect assets (forms)

  • Retrieve form content and submissions

  • Submit new submissions as JSON or XML

  • Download submission attachments (images, media)

You can find the package below

Contributions, bug reports and pull requests are welcome. Feel free to submit a PR or open an issue in the Github repository below:

Welcome to the community, @asharif88! And thank you for sharing this with the entire community! Please feel free to update your post when you have an upgrade to your tool! :folded_hands:

1 Like