# google-gemini-php/laravel

> Gemini PHP for Laravel is a community-maintained PHP API client that allows you to interact with the Gemini AI API.

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/google-gemini-php/laravel
- HTML: https://awesomeopensource.dev/project/google-gemini-php-laravel
- License: MIT
- Language: PHP
- stars: 645
- Topics: gemini, gemini-api, google-ai, google-ai-client-sdk, google-ai-studio, laravel, laravel-framework, laravel-package
- Activity score: 4.0/5 (Active)
- Last commit (any branch): 2026-10-12
- Last release: 2.0.5 2026-10-12

## Description

A Laravel wrapper around the Gemini API PHP client, providing a facade, configuration and testing helpers. It covers text, image, video, audio and document input, streaming, chats, structured output, function calling, built-in Google Search, Maps, URL context and File Search tools, plus image and speech generation, thinking models, file and cache management, file search stores, embeddings and model listing. A fake client supports tests, and the API key, base URL and timeout come from config/gemini.php.

## Maintenance activity

- Recency: 78% (weight 40%) — last commit: 32 days ago
- Commit volume: 55% (weight 25%)
- Releases: 86% (weight 25%) — last release: 32 days ago
- Bug fixes: 93% (weight 10%)
- Commits: 4 / 90d, 12 / 365d

## Screenshots

- [Screenshot of the Google Gemini PHP for Laravel editor showing example code for generating content and starting a chat](https://awesomeopensource.dev/uploads/386/1c4e012cd1e128ef.png)

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
