gemini-php 0.7.0

Client::Request method now supports resolved host as optional argument!

This feature useful to

Update dedicated to the Yo! crawler project

https://github.com/YGGverse/Yo/tree/gemini

Example

$request = new \Yggverse\Gemini\Client\Request(
    'gemini://yggverse.cities.yesterweb.org:1965/index.gmi' // target URL
    '68.133.1.71' // resolved IP, skip to use system-wide resolver
);

Alternatively, use setResolvedHost method of Request object before getResponse

$request->setResolvedHost(
    '68.133.1.71'
)

Links

Download gemini-php 0.7.0

Network Resolver in PHP 8