PHPackages                             tomzx/composer-proxy-client - 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. [Caching](/categories/caching)
4. /
5. tomzx/composer-proxy-client

ActiveLibrary[Caching](/categories/caching)

tomzx/composer-proxy-client
===========================

Composer proxy client to cache external packages sources

5231[1 issues](https://github.com/tomzx/composer-proxy-client/issues)PHP

Since Oct 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tomzx/composer-proxy-client)[ Packagist](https://packagist.org/packages/tomzx/composer-proxy-client)[ RSS](/packages/tomzx-composer-proxy-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Composer Proxy Client
=====================

[](#composer-proxy-client)

[![License](https://camo.githubusercontent.com/45ae82096c70fcd1e323df2aa05e5ae7f9191ca32cc8cc5c8d159779dbff477b/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f636f6d706f7365722d70726f78792d636c69656e742f6c6963656e73652e737667)](https://packagist.org/packages/tomzx/composer-proxy-client)[![Latest Stable Version](https://camo.githubusercontent.com/11dadeb329e525d7132f5238476f6b05c98cd3df27776cd2d3c7ded4a27e0a43/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f636f6d706f7365722d70726f78792d636c69656e742f762f737461626c652e737667)](https://packagist.org/packages/tomzx/composer-proxy-client)[![Latest Unstable Version](https://camo.githubusercontent.com/49d205572d421250a70b44353afb16b9c6c968020e74c2549081aaabe31f9e0e/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f636f6d706f7365722d70726f78792d636c69656e742f762f756e737461626c652e737667)](https://packagist.org/packages/tomzx/composer-proxy-client)[![Build Status](https://camo.githubusercontent.com/fb9b3f1e0b3a4dec9cb2989b1168bc1c4fc58a130d5e232d8e04a92badcd9091/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f6d7a782f636f6d706f7365722d70726f78792d636c69656e742e737667)](https://travis-ci.org/tomzx/composer-proxy-client)[![Code Quality](https://camo.githubusercontent.com/f9999779cc90107c51d7487c094f00ec674cc012a459fdcbc194fd03d67b7851/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f6d7a782f636f6d706f7365722d70726f78792d636c69656e742e737667)](https://scrutinizer-ci.com/g/tomzx/composer-proxy-client/code-structure)[![Code Coverage](https://camo.githubusercontent.com/ca43ffc074b36e0bfe05081f397613c358e76137ec1969a16351b2ef2988173d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746f6d7a782f636f6d706f7365722d70726f78792d636c69656e742e737667)](https://scrutinizer-ci.com/g/tomzx/composer-proxy-client)[![Total Downloads](https://camo.githubusercontent.com/40b5f6a6fe3bd315267c1d5d334235aa6ca6a4a757322a946ffe676b43d51e8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f6d7a782f636f6d706f7365722d70726f78792d636c69656e742e737667)](https://packagist.org/packages/tomzx/composer-proxy-client)

`Composer Proxy Client` is a plugin for composer that will send to [Composer Proxy](https://github.com/tomzx/composer-proxy) the list of require and require-dev of your composer.json. `Composer Proxy` will then add these dependencies to its cache, thus making it possible to use it in the same way you'd use satis to cache repository, but in a dynamic manner (instead of specifying by hand your dependencies).

Getting started
---------------

[](#getting-started)

First, start by requiring the `Composer Proxy Client` in your project.

```
php composer.phar require tomzx/composer-proxy-client 0.1.*@dev
```

In your project composer.json, add the following

```
{
	"repositories": [
		{
			"type": "composer",
			"url": "url-to-composer-proxy"
		}
	],
	...
	"scripts": {
		"pre-install-cmd": [
			"ComposerProxy\\Client\\Client::prepare"
		],
		"pre-update-cmd": [
			"ComposerProxy\\Client\\Client::prepare"
		]
	},
	"extra": {
		"composer-proxy": {
			"url": [
				"url-to-composer-proxy"
			]
		}
	}
}
```

**Note** Specifying the `pre-install-cmd` script is at your discretion.

This takes care of informing composer that you want to use `Composer Proxy Client` AND where your `Composer Proxy` server resides.

Note
----

[](#note)

This is a work in progress. `Composer Proxy Client` and `Composer Proxy` are not ready to be used in production.

License
-------

[](#license)

The code is licensed under the [MIT license](http://choosealicense.com/licenses/mit/). See [LICENSE](LICENSE).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/218f6db237e6937c05550d4d6df648f50cd9b26b098fc8c1be3930fe7d5c71e9?d=identicon)[tomzx](/maintainers/tomzx)

---

Top Contributors

[![tomzx](https://avatars.githubusercontent.com/u/188960?v=4)](https://github.com/tomzx "tomzx (7 commits)")

### Embed Badge

![Health badge](/badges/tomzx-composer-proxy-client/health.svg)

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

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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