PHPackages                             ihsw/toxiproxy-php-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. ihsw/toxiproxy-php-client

ActiveLibrary

ihsw/toxiproxy-php-client
=========================

PHP client for shopify/toxiproxy

v3.0.1(11mo ago)303.3k↓100%3[1 issues](https://github.com/ihsw/toxiproxy-php-client/issues)4MITPHPPHP ^8.3CI passing

Since May 9Pushed 11mo ago1 watchersCompare

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

READMEChangelog (7)Dependencies (6)Versions (11)Used By (4)

Toxiproxy PHP Client
====================

[](#toxiproxy-php-client)

[Toxiproxy](https://github.com/shopify/toxiproxy) makes it easy and trivial to test network conditions, for example low-bandwidth and high-latency situations. `toxiproxy-php-client` includes everything needed to get started with configuring Toxiproxy upstream connection and listen endpoints.

*Note: `toxiproxy-php-client` is currently compatible with `toxiproxy-2.0+`.*

Installing via Composer
-----------------------

[](#installing-via-composer)

The recommended way to install `toxiproxy-php-client` is through [Composer](http://getcomposer.org/).

Once that is installed and you have added `ihsw/toxiproxy-php-client` to your `composer.json` configuration, you can require the autoloader and start using the library.

Here is an example for creating a proxy that limits a Redis connection to 1000KB/s.

```
