PHP toolkit for working with Varnish cache
Latest commit a95ad47 Aug 24, 2012 Tim Whitlock Merge pull request #8 from supermario/master
Comments should purge parent post


PHP tools for working with Varnish reverse proxy cache.

Admin socket

This package includes an admin socket class, which PHP applications can use to interface with the varnishadm program.
Common tasks would include checking the health of caches and purging when site content needs refreshing.

Wordpress plug-in

This package includes a Wordpress plug-in. See wordpress-plugin/


  • Add short cut methods for all admin commands
  • Sanitise admin command parameters, such as regexp
  • HTTP tools
  • Drupal module


The whole php-varnish package, is released under the MIT license, see LICENSE.