Hello everyone,
I’ve been working on a custom PHP client library for the Gemini API as there’s no official release for it on the official library page.
I’ve tried to add support for all features except streaming response, which will be added soon. Not sure if the library will be of help to fellow PHP developers, but I hope it simplifies your work.
My main motivation was removing the complexity around Tuned Models and Corpora that require stricter authentication, and I managed to streamline the process significantly. The library is designed to be user-friendly and efficient, making it easier to integrate Gemini API into your PHP projects.
Feel free to check it out, provide feedback, or contribute to its development through pull requests. Your input would be greatly appreciated!