adachsoft / internet-search-gemini-deep-research
Google Gemini Deep Research implementation for adachsoft/internet-search-contract.
Package info
gitlab.com/a.adach/internet-search-gemini-deep-research
pkg:composer/adachsoft/internet-search-gemini-deep-research
v0.1.0
2026-11-28 19:27 UTC
Requires
- php: ^8.3
- adachsoft/internet-search-contract: ^0.1
- guzzlehttp/guzzle: ^7.10
Requires (Dev)
- adachsoft/php-code-style: ^0.8.0
- friendsofphp/php-cs-fixer: ^3.95
- phpstan/phpstan: ^2.3
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^13
- rector/rector: ^2.9
- symfony/dotenv: ^7.0
- symplify/phpstan-rules: ^14.19
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This package provides an implementation of AdachSoft\InternetSearchContract\InternetSearchClientInterface using Google Gemini's Deep Research model (deep-research-max-preview-04-2026).
Requirements
- PHP 8.3 or later
ext-json
Installation
composer require adachsoft/internet-search-gemini-deep-research
Usage
use AdachSoft\InternetSearchGeminiDeepResearch\InternetSearchApiClient;
use GuzzleHttp\Client;
$client = new InternetSearchApiClient(
new \AdachSoft\InternetSearchGeminiDeepResearch\Adapter\GuzzleHttpClientAdapter(new Client()),
'your-gemini-api-key-here'
);
$result = $client->search('What are the latest breakthroughs in quantum computing?');
echo $result;
Features
- Synchronous interface for asynchronous Deep Research API (uses polling).
- Robust error handling with specific exception types.
- Configurable timeout and polling interval.
- Full test coverage (unit + production).
License
MIT