{"repo":"google-gemini-php/laravel","free":true,"listed":false,"github":"https://github.com/google-gemini-php/laravel","clone":"git clone https://github.com/google-gemini-php/laravel.git","description":"⚡️ Gemini PHP for Laravel is a community-maintained PHP API client that allows you to interact with the Gemini AI API.","language":"PHP","stars":637,"topics":["gemini","gemini-api","google-ai","google-ai-client-sdk","google-ai-studio","laravel","laravel-framework","laravel-package"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"------ Gemini PHP for Laravel is a community-maintained PHP API client that allows you to interact with the Gemini AI API. - Fatih AYDIN github.com/aydinfatih - Vytautas Smilingis github.com/Plytas For more information, take a look at the google-gemini-php/client repository. Table of Contents - Prerequisites - Setup - Installation - Setup your API key - Upgrade to 2.0 - Usage - Chat Resource - Text-only Input - Text-and-image Input - Text-and-video Input - Image Generation - Multi-turn Conversations (Chat) - Chat with Streaming - Stream Generate Content - Structured Output - Function calling - Code Execution - Grounding with Google Search - System Instructions - Speech generation - Thinking Mode - Count tokens - Configuration - File Management - File Upload - List Files - Get File Metadata - Delete File - Cached Content - Create Cached Content - List Cached Content - Get Cached Content - Update Cached Content - Delete Cached Content - Use Cached Content - Embedding Resource - Models - List Models - Get Model - Troubleshooting - Testing Prerequisites To complete this quickstart, make sure that your development environment meets the following requirements: - Requires PHP 8.1+ - Requires Laravel 9,10,11,12 Setup Installation First, install Gemini via the Composer package manager: Next, execute the install command: This will create a config/gemini.php configuration file in your project, which you can modify to your needs using environment variables. Blank environment variables fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/google-gemini-php","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/google-gemini-php/laravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}