PHPackages                             a3020/guzzle-mutable-config - 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. a3020/guzzle-mutable-config

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

a3020/guzzle-mutable-config
===========================

Guzzle Client with a mutable config

0.1.3(9y ago)046MITPHP

Since Sep 16Pushed 9y agoCompare

[ Source](https://github.com/a3020/guzzle-mutable-config)[ Packagist](https://packagist.org/packages/a3020/guzzle-mutable-config)[ RSS](/packages/a3020-guzzle-mutable-config/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Guzzle, PHP HTTP client with mutable config
===========================================

[](#guzzle-php-http-client-with-mutable-config)

The Guzzle configuration is immutable by default. It can only be set via the constructor and retrieved via getConfig.

In case you need to for example crawl different domains, you may want to change the base\_uri instead of creating hundreds of instances. This is a copy of the Guzzle Client implementation with two additional methods:

- `setConfig(array $array)`
- `setConfigOption(string $key, $value)`

Installation
------------

[](#installation)

`composer require "a3020/guzzle-mutable-config"`

Usage
-----

[](#usage)

```
$client = new A3020\GuzzleHttp\Client([
    'base_uri' => 'foo',
]);
$client->setConfigOption('base_uri', 'http://localhost');
$response = $client->get('file.htm');
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

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 ~6 days

Total

4

Last Release

3557d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1431100?v=4)[a3020](/maintainers/a3020)[@a3020](https://github.com/a3020)

---

Top Contributors

[![a3020](https://avatars.githubusercontent.com/u/1431100?v=4)](https://github.com/a3020 "a3020 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/a3020-guzzle-mutable-config/health.svg)

```
[![Health](https://phpackages.com/badges/a3020-guzzle-mutable-config/health.svg)](https://phpackages.com/packages/a3020-guzzle-mutable-config)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[dreamfactory/df-core

DreamFactory(tm) Core Components

1652.0k38](/packages/dreamfactory-df-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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