PHPackages                             composer-fallback/php-http.client-implementation.guzzle7 - 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. composer-fallback/php-http.client-implementation.guzzle7

ActiveMetapackage

composer-fallback/php-http.client-implementation.guzzle7
========================================================

Satisfy "php-http/client-implementation" with packages provided by user, or fallback to "guzzle7".

1.1(5y ago)06.4k↓50%MIT

Since Oct 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/composer-fallback/php-http.client-implementation.guzzle7)[ Packagist](https://packagist.org/packages/composer-fallback/php-http.client-implementation.guzzle7)[ RSS](/packages/composer-fallback-php-httpclient-implementationguzzle7/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Fallback for `php-http/client-implementation` using `guzzle7`
=============================================================

[](#fallback-for-php-httpclient-implementation-using-guzzle7)

Provides a metapackage for library needing `php-http/client-implementation`that fallback to a default implementation when user does not meet the initial requirements.

Usage
-----

[](#usage)

```
composer require "composer-fallback/php-http.client-implementation.guzzle7:*"
```

Composer will, by preference:

- use an implementation provided by the user
- otherwise, fallbacks to `php-http/guzzle7-adapter`

How does it works
-----------------

[](#how-does-it-works)

This package contains 2 versions:

1. The highest [1.1](https://github.com/composer-fallback/php-http.client-implementation.guzzle7/blob/1.1/composer.json) needs nothing more than your requirements.
2. The lowest [1.0](https://github.com/composer-fallback/php-http.client-implementation.guzzle7/blob/1.0/composer.json) triggers install of `php-http/guzzle7-adapter`.

Composer will choose this highest version when user already has a package that satisfy `php-http/client-implementation`. Otherwise, composer will choose the lowest version and in that case will download the following packages: `php-http/guzzle7-adapter`.

What problem does it solve?
---------------------------

[](#what-problem-does-it-solve)

You are maintaining a library that need an implementation of `php-http/client-implementation`, but you don't want requiring a specific implementation.

ie. You are maintainer of library that use the following composer.json

```
{
  "name": "acme/lib",
  "require": {
    "php-http/client-implementation": "^1.0",
  }
}
```

When end users requires you library with the following code

```
{
    "name": "end-user/app",
    "require": {
      "acme/lib": "^1.0"
    }
}
```

They probably ends with such error

```
composer up

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for acme/lib ^1.0 -> satisfiable by acme/lib[1.0].
    - acme/lib 1.0 requires php-http/client-implementation ^1.0 -> no matching package found.
```

You can ask user to install a random package, it works, but the DX is very bad, and confusing at first.

By using `composer-fallback/php-http.client-implementation.guzzle7`, users will be able to require their preferred implementation or fallback to your default choice

### Example of user that meet the preferred requirements

[](#example-of-user-that-meet-the-preferred-requirements)

```
{
    "name": "end-user/app",
    "require": {
        "acme/lib": "^1.0",
        "third-party/provide-implementation": "^1.0"
    }
}
```

```
composer up
...
Package operations: 2 installs, 0 updates, 0 removals
  - Installing acme/lib (1.0)
  - Installing composer-fallback/php-http.client-implementation.guzzle7 (1.1)
```

### Example of user that fallback to your recommendations

[](#example-of-user-that-fallback-to-your-recommendations)

```
{
    "name": "end-user/app",
    "require": {
        "acme/lib": "^1.0"
    }
}
```

```
composer up
...
Package operations: 3 installs, 0 updates, 0 removals
  - Installing acme/lib (1.0)
  - Installing composer-fallback/php-http.client-implementation.guzzle7 (1.0)
  - Installing php-http/guzzle7-adapter (1.0)
```

Alternatives
------------

[](#alternatives)

- [php-http.client-implementation.symfony](https://github.com/composer-fallback/php-http.client-implementation.symfony)

Contributing
------------

[](#contributing)

This repository is automatically generated. If you want contributing and submitting an issue or a Pull Request, please use [composer-fallback/generator](https://github.com/composer-fallback/generator).

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

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

Every ~0 days

Total

2

Last Release

1996d ago

### Community

Maintainers

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

---

Top Contributors

[![jderusse](https://avatars.githubusercontent.com/u/578547?v=4)](https://github.com/jderusse "jderusse (3 commits)")

---

Tags

composerfallbackphp-httpdefaultclient-implementation

### Embed Badge

![Health badge](/badges/composer-fallback-php-httpclient-implementationguzzle7/health.svg)

```
[![Health](https://phpackages.com/badges/composer-fallback-php-httpclient-implementationguzzle7/health.svg)](https://phpackages.com/packages/composer-fallback-php-httpclient-implementationguzzle7)
```

###  Alternatives

[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k281.5M56](/packages/jean85-pretty-package-versions)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

594158.0M1.6k](/packages/dealerdirect-phpcodesniffer-composer-installer)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k36.0M1.8k](/packages/ergebnis-composer-normalize)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

52421.3M722](/packages/bamarni-composer-bin-plugin)[composer/metadata-minifier

Small utility library that handles metadata minification and expansion.

180112.4M9](/packages/composer-metadata-minifier)[shipmonk/composer-dependency-analyser

Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)

6036.1M366](/packages/shipmonk-composer-dependency-analyser)

PHPackages © 2026

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