PHPackages                             diegospm/http-provider - 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. diegospm/http-provider

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

diegospm/http-provider
======================

HTTP Provider Abstraction

1.0.0(5y ago)110MITPHPPHP &gt;=7.4

Since Jan 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/diegospm/http-provider)[ Packagist](https://packagist.org/packages/diegospm/http-provider)[ Docs](https://github.com/diegospm)[ RSS](/packages/diegospm-http-provider/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

HTTP Provider Package - Abstraction
===================================

[](#http-provider-package---abstraction)

[![Author](https://camo.githubusercontent.com/7e6a9398cd8161a771585bdffa80d2b224ea9469d474b4971ba93edaeb516ad8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d40646965676f73706d2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://www.linkedin.com/in/diego-spm)[![GitHub release (latest by date)](https://camo.githubusercontent.com/54f8a61aca42f4c97c174e5939c32cb174df72b1bb048db69a4f2763453d33e0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f646965676f73706d2f687474702d70726f76696465723f7374796c653d666c61742d737175617265)](https://github.com/diegospm/http-provider/releases)[![GitHub license](https://camo.githubusercontent.com/b7d110b9d49419fcc47807190fa4eeb104efafa5673f36c1c651590b38de1231/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646965676f73706d2f687474702d70726f76696465723f7374796c653d666c61742d737175617265)](https://github.com/diegospm/http-provider/blob/master/LICENSE)[![Travis (.com)](https://camo.githubusercontent.com/a13fbdddc5ef55b979443ac8ff201d779a97758aba708f2269029e51c598071a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f646965676f73706d2f687474702d70726f76696465723f6c6162656c3d7472617669732b6275696c64267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/a13fbdddc5ef55b979443ac8ff201d779a97758aba708f2269029e51c598071a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f646965676f73706d2f687474702d70726f76696465723f6c6162656c3d7472617669732b6275696c64267374796c653d666c61742d737175617265)[![Scrutinizer build (GitHub/Bitbucket)](https://camo.githubusercontent.com/7ef83fdb9c770183fc92c51a9093e832cf37f35d236b33e28da4af006a6b22aa/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f646965676f73706d2f687474702d70726f76696465723f6c6162656c3d7363727574696e697a65722b6275696c64267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/7ef83fdb9c770183fc92c51a9093e832cf37f35d236b33e28da4af006a6b22aa/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f646965676f73706d2f687474702d70726f76696465723f6c6162656c3d7363727574696e697a65722b6275696c64267374796c653d666c61742d737175617265)[![Scrutinizer coverage (GitHub/BitBucket)](https://camo.githubusercontent.com/fa3fe87466bac4b4992d59cc6e94a2a15a6b432fa9ba7ef2fac279e774f4db47/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f646965676f73706d2f687474702d70726f76696465723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/fa3fe87466bac4b4992d59cc6e94a2a15a6b432fa9ba7ef2fac279e774f4db47/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f646965676f73706d2f687474702d70726f76696465723f7374796c653d666c61742d737175617265)[![Scrutinizer code quality (GitHub/Bitbucket)](https://camo.githubusercontent.com/88f0841c238924df34e082b237f8ba8f8d509d7efdbc60b33b78b17dff3f593c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f646965676f73706d2f687474702d70726f76696465723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/88f0841c238924df34e082b237f8ba8f8d509d7efdbc60b33b78b17dff3f593c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f646965676f73706d2f687474702d70726f76696465723f7374796c653d666c61742d737175617265)[![Code Climate maintainability](https://camo.githubusercontent.com/bb34b118aaefb929d87db4b33becebf666da1883167ee170894449fb92203b6e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f646965676f73706d2f687474702d70726f76696465723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/bb34b118aaefb929d87db4b33becebf666da1883167ee170894449fb92203b6e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f646965676f73706d2f687474702d70726f76696465723f7374796c653d666c61742d737175617265)

[![](./http-slash-icon.png)](./http-slash-icon.png)

This abstraction was developed to organize and standardize the consumption of external APIs using the HTTP protocol.

If you notice compliance oversights, please, send a PR.

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

[](#requirements)

PHP 7.4 or newer

Install
-------

[](#install)

Via Composer

```
$ composer require diegospm/http-provider
```

Test
----

[](#test)

Run composer test

```
$ composer test
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1953d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa0eee4ddd94e5d261d84a7310038bdbca97310bcad5e141ef1c34889dac14b0?d=identicon)[diegospm](/maintainers/diegospm)

---

Top Contributors

[![diegospm](https://avatars.githubusercontent.com/u/44150032?v=4)](https://github.com/diegospm "diegospm (15 commits)")

---

Tags

httphttp apiHTTP Provider

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/diegospm-http-provider/health.svg)

```
[![Health](https://phpackages.com/badges/diegospm-http-provider/health.svg)](https://phpackages.com/packages/diegospm-http-provider)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.0B3.1k](/packages/guzzlehttp-psr7)[psr/http-message

Common interface for HTTP messages

7.1k1.0B5.5k](/packages/psr-http-message)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k692.9M1.9k](/packages/psr-http-factory)[psr/http-client

Common interface for HTTP clients

1.7k680.7M2.1k](/packages/psr-http-client)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k314.0M3.4k](/packages/symfony-http-client)[psr/link

Common interfaces for HTTP links

2.5k144.1M69](/packages/psr-link)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
