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 1w 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 17% 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

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)

PHPackages © 2026

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