mirror of
https://github.com/YGGverse/yggverse.github.io.git
synced 2025-01-01 16:24:49 +00:00
26 lines
609 B
Plaintext
26 lines
609 B
Plaintext
# gemini-php 0.2.0
|
|
|
|
Completed Request / Response Client
|
|
|
|
This API make TLS socket connection simpler for PHP apps based on Composer
|
|
|
|
## Example
|
|
|
|
``` php
|
|
$request = new \Yggverse\Gemini\Client\Request(
|
|
'gemini://yggverse.cities.yesterweb.org:1965/index.gmi'
|
|
);
|
|
|
|
$response = new \Yggverse\Gemini\Client\Response(
|
|
$request->getResponse()
|
|
);
|
|
|
|
var_dump(
|
|
$response->getBody()
|
|
);
|
|
```
|
|
|
|
## Links
|
|
|
|
=> https://github.com/YGGverse/gemini-php/releases/tag/0.2.0 Download gemini-php 0.2.0
|
|
=> https://github.com/YGGverse/Yo/blob/gemini/src/cli/document/crawl.php Feature in Yo! Crawler branch for Gemini Protocol |