Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cspray/http-request-builder
Easily create @amphp Request objects with a fluent API
https://github.com/cspray/http-request-builder
Last synced: about 2 months ago
JSON representation
Easily create @amphp Request objects with a fluent API
- Host: GitHub
- URL: https://github.com/cspray/http-request-builder
- Owner: cspray
- License: mit
- Created: 2023-02-11T13:10:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-04T13:00:49.000Z (8 months ago)
- Last Synced: 2024-11-14T15:51:29.517Z (about 2 months ago)
- Language: PHP
- Size: 126 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Http Request Builder
A library to fluently create [amphp/http-client](https://github.com/amphp/http-client) Request objects.
## Installation
```
composer require cspray/http-request-builder
```## Usage
This library has 1 focused purpose; easily create Requests.
```php
'enthusiastic,positivity,clashing'
])->post('https://api.example.com');\Amp\Http\Client\HttpClientBuilder::buildDefault()->request($request);
```