rpurinton / gemini-php

A PHP Library for Google Gemini AI
https://discord.gg/U9stSmpEYr
MIT License
20 stars 8 forks source link
ai chatbot client composer gemini google llm open-source php

Gemini PHP

Gemini PHP is a PHP library for interacting with the Gemini AI platform. It provides a client for making requests to the Gemini API and a response class for handling the API responses.

Prerequisites

PHP 8.2+ Composer

Installation

To install Gemini PHP, you can use Composer. Run the following command:

composer require rpurinton/gemini-php

Usage

Please see example.php for a basic command-line example.

Table of Contents

For more detailed usage instructions, please refer to the Gemini PHP documentation.

License

This project is licensed under the MIT License. See the LICENSE file for details.