https://github.com/dspacelabs/http-client
Simple PHP HTTP Client
https://github.com/dspacelabs/http-client
curl http-client php-client
Last synced: about 1 month ago
JSON representation
Simple PHP HTTP Client
- Host: GitHub
- URL: https://github.com/dspacelabs/http-client
- Owner: dSpaceLabs
- License: mit
- Created: 2017-06-18T01:32:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T03:41:09.000Z (almost 8 years ago)
- Last Synced: 2025-03-21T07:46:47.544Z (about 1 month ago)
- Topics: curl, http-client, php-client
- Language: PHP
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
dspacelabs/http-client
======================Simple HTTP Client used for PHP and making web requests.
## Installation
```bash
composer require dspacelabs/http-client
```## Examples
### Making a Web Request
```php
use Dspacelabs\Component\Http\Client\Client;$client = new Client();
// @var \Psr\Http\Message\Request $request
// @var \Psr\Http\Message\Response $response
$response = $client->sendWithRequest($request);
```