Skip to content
PHP toolkit for working with Varnish cache
Find file
New pull request
Latest commit a95ad47 Tim Whitlock Merge pull request #8 from supermario/master
Comments should purge parent post
Failed to load latest commit information.
wordpress-plugin Varnish 3 support and fixed manual purge bug
LICENSE first working version of Wordpress plug-in Implemented authentication
VarnishAdminSocket.php dos2unix
wordpress-plugin.php postid variable name typo, comment should purge it's 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.

Something went wrong with that request. Please try again.