PHPackages                             aportela/httprequest-wrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. aportela/httprequest-wrapper

ActiveLibrary[HTTP &amp; Networking](/categories/http)

aportela/httprequest-wrapper
============================

Custom curl http request wrapper

2.3.2(5mo ago)04305AGPL-3.0-onlyPHPPHP &gt;=8.4CI passing

Since Apr 18Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/aportela/httprequest-wrapper)[ Packagist](https://packagist.org/packages/aportela/httprequest-wrapper)[ Docs](https://github.com/aportela/httprequest-wrapper)[ RSS](/packages/aportela-httprequest-wrapper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (19)Used By (5)

httprequest-wrapper
===================

[](#httprequest-wrapper)

This is a simple library to wrap &amp; manage native PHP HTTP requests (there are plenty of serious alternatives like [Guzzle](http://docs.guzzlephp.org/), this is my tiny approach to be used in some of my personal projects, should not be taken too seriously).

Requirements
------------

[](#requirements)

- mininum php version 8.4
- curl extension must be enabled

Limitations
-----------

[](#limitations)

At this time only GET/HEAD methods are supported.

Install (composer) dependencies:
--------------------------------

[](#install-composer-dependencies)

```
composer require aportela/httprequest-wrapper
```

Code example:
-------------

[](#code-example)

```
