If you are looking for a library to interface cAPI with other PHP applications, rather than hand-coding PHP cURL calls, you may explore the following resources.
A library to connect to the Joomla Rest API (cAPI) from https://www.annatech.com/.
Composer Package
A library to connect to the Joomla Rest API (cAPI) from https://www.annatech.com/.