Download the PHP package ride/cli-varnish without Composer
On this page you can find all versions of the php package ride/cli-varnish. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cli-varnish
Ride: Varnish CLI
This module adds various Varnish commands to the Ride CLI.
Commands
varnish
This command gets an overview of the Varnish servers in the pool with their status.
Syntax:
Alias:
varnish add
This command adds a Varnish server to the pool.
Syntax:
- : Hostname or IP address of the server
- : Port the varnishadm listens to (6082)
- : Secret to authenticate with the server
Alias:
varnish remove
This command removes a Varnish server from the pool.
Syntax:
- : Hostname or IP address of the server
- : Port the varnishadm listens to (6082)
Alias:
varnish ban
This command bans an expression on all the Varnish servers of the pool.
Syntax:
- : Limit to a single server, provide the server and port
- : Ignore failures and execute the command on the remaining servers
- Expression to ban
Alias:
varnish ban url
This command bans an URL on all the Varnish servers of the pool.
Syntax:
- : Clear everything starting with the provided URL
- : Limit to a single server, provide the server and port
- : Ignore failures and execute the command on the remaining servers
- : URL to ban
Alias:
varnish generate redirect
This command generates varnish configuration to redirect a set of URL's.
Syntax:
- : Base URL for the old URL or destination, used for relative URL's
- : Add this flag to ignore the first row
- : Default status code, used when 3rd column is empty
- : Path to a CSV file with the old URL as first column, the destination as second column, an optional HTTP status code (301 or 302) as third column, an optional flag (yes or no) to see if everything starting with the old URL should be matched as fourth column and an optional flag (yes or no) to see if the original path should be appended to the destination as fifth column.
Alias:
Related Modules
- ride/app
- ride/app-varnish
- ride/cli
- ride/lib-cli
- ride/lib-varnish
- ride/wba-cms-varnish
- ride/wba-varnish
- ride/web-cms-varnish
Installation
You can use Composer to install this application.
All versions of cli-varnish with dependencies
ride/app-varnish Version ^1.0.0
ride/cli Version ^1.0.0
ride/lib-varnish Version ^1.0.0