Fayda-Community/fayda-php-sdk ? reverse-engineered prompt

Reverse engineered prompt

Build me a PHP SDK for the Fayda platform that lets me talk to the API from a normal PHP app without having to deal with raw HTTP all the time.

I want it to support the main auth flow shown in the docs, like requesting an OTP and then using that OTP to run the eKyc style authentication step. It should work with the development and production base URLs, let me switch between them easily, and include a simple debug mode that writes useful logs to a file. Please make it easy to install with Composer, include a few clear examples, and add tests so I can see that the basic flows work.

If anything in the official Fayda API spec is needed to fill in the gaps, look it up online and follow that. Also make it easy to run locally with Docker, and keep the code clean enough that someone lightly technical can understand how to use it right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab