PHPackages                             ride/lib-varnish - 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. ride/lib-varnish

ActiveLibrary

ride/lib-varnish
================

Varnish library of the Ride framework.

1.0.2(8y ago)326.5k↓46.6%16MITPHP

Since Feb 27Pushed 8y ago11 watchersCompare

[ Source](https://github.com/all-ride/ride-lib-varnish)[ Packagist](https://packagist.org/packages/ride/lib-varnish)[ RSS](/packages/ride-lib-varnish/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (15)Used By (6)

Ride: Varnish Library
=====================

[](#ride-varnish-library)

Varnish library of the PHP Ride framework.

What's In This Library
----------------------

[](#whats-in-this-library)

### VarnishServer

[](#varnishserver)

The *VarnishServer* interface is used to manipulate a single Varnish server or a pool of servers transparantly.

### VarnishAdmin

[](#varnishadmin)

The *VarnishAdmin* class connects to a single Varnish server directly to send commands.

### VarnishPool

[](#varnishpool)

The *VarnishPool* class can be used to create a pool of different *VarnishAdmin* instances. All commands of the *VarnishServer* interface will be invoked on all available servers in the pool.

Code Sample
-----------

[](#code-sample)

Check this code sample to see some of this library's functionality:

```
