{"repo":"hosseinhezami/laravel-gemini","free":true,"listed":false,"github":"https://github.com/hosseinhezami/laravel-gemini","clone":"git clone https://github.com/hosseinhezami/laravel-gemini.git","description":"A production-ready Laravel package to integrate with the Google Gemini API. Supports text, image, video, audio, long-context, structured output, files, caching, function-calling and understanding capabilities.","language":"PHP","stars":135,"topics":["ai","api","gemini","laravel","package","php"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Gemini A production-ready Laravel package to integrate with the Google Gemini API. Supports text, image, video, audio, long-context, structured output, files, caching, function-calling and understanding capabilities. Features - 🤖 Text generation with context and history - 🖼️ Image generation and understanding - 🎥 Video generation and analysis - 🔊 Audio synthesis and transcription - 📄 Document processing and understanding - 🔍 Embeddings generation - 📊 File management capabilities - ⚡ Real-time streaming responses - 🛡️ Configurable safety settings - 🗄️ Caching for pre-processed content Installation Publish the configuration file: Add your Gemini API key to your .env file: Configuration (detailed) Configuration lives in config/gemini.php . Below are the most important keys and recommended defaults: Key Description Default --- ---: --- api key Your Gemini API key. env('GEMINI API KEY') base uri Base API endpoint. https://generativelanguage.googleapis.com/v1beta/ default provider Which provider config to use by default. gemini timeout Request timeout in seconds. 30 retry policy.max retries Retry attempts for failed requests. 30 retry policy.retry delay Delay between retries in ms. 1000 logging Log requests/responses (useful for debugging). false stream.chunk size Stream buffer chunk size. 1024 stream.timeout Stream timeout (ms). 1000 caching.default ttl Default TTL for cache expiration (e.g., '3600s'). '3600s' caching.default page size Default page size for listin","default_branch":null,"files":null,"tree":[],"storefront":"/r/hosseinhezami","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hosseinhezami/laravel-gemini/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."}