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

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

composer-fallback/symfony.http-client-implementation.symfony
============================================================

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

1.1(5y ago)0110MIT

Since Oct 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/composer-fallback/symfony.http-client-implementation.symfony)[ Packagist](https://packagist.org/packages/composer-fallback/symfony.http-client-implementation.symfony)[ RSS](/packages/composer-fallback-symfonyhttp-client-implementationsymfony/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Fallback for `symfony/http-client-implementation` using `symfony`
=================================================================

[](#fallback-for-symfonyhttp-client-implementation-using-symfony)

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

Usage
-----

[](#usage)

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

Composer will, by preference:

- use an implementation provided by the user
- otherwise, fallbacks to `symfony/http-client`

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

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

This package contains 2 versions:

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

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

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

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

You are maintaining a library that need an implementation of `symfony/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": {
    "symfony/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 symfony/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/symfony.http-client-implementation.symfony`, 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/symfony.http-client-implementation.symfony (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/symfony.http-client-implementation.symfony (1.0)
  - Installing symfony/http-client (1.0)
```

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

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

2100d 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

composersymfonyfallbackdefaulthttp-client-implementation

### Embed Badge

![Health badge](/badges/composer-fallback-symfonyhttp-client-implementationsymfony/health.svg)

```
[![Health](https://phpackages.com/badges/composer-fallback-symfonyhttp-client-implementationsymfony/health.svg)](https://phpackages.com/packages/composer-fallback-symfonyhttp-client-implementationsymfony)
```

###  Alternatives

[eole/sandstone

Silex RestApi with Websockets.

1125.2k1](/packages/eole-sandstone)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)[zeroem/curl-bundle

Allows you to easily create and execute HTTP Requests with cURL

1323.5k](/packages/zeroem-curl-bundle)

PHPackages © 2026

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