Download the PHP package wp-media/wp-rocket-cli without Composer
On this page you can find all versions of the php package wp-media/wp-rocket-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wp-media/wp-rocket-cli
More information about wp-media/wp-rocket-cli
Files in wp-media/wp-rocket-cli
Download wp-media/wp-rocket-cli
More information about wp-media/wp-rocket-cli
Files in wp-media/wp-rocket-cli
Vendor wp-media
Package wp-rocket-cli
Short Description Add a `wp rocket` command to support the WP Rocket plugin
License MIT
Homepage https://github.com/wp-media/wp-rocket-cli
Package wp-rocket-cli
Short Description Add a `wp rocket` command to support the WP Rocket plugin
License MIT
Homepage https://github.com/wp-media/wp-rocket-cli
Please rate this library. Is it a good library?
Informations about the package wp-rocket-cli
WP CLI interface for WP Rocket
This repository contains a WP-CLI command for the WP Rocket plugin. After installing this plugin, you will have access to a wp rocket
command.
Supported commands
wp rocket activate-cache --htaccess=<true|false>
-- Set WP_CACHE to true and clean WP Rocket cache. To also update the htaccess on Apache, use the additionalhtaccess
parameter.wp rocket deactivate-cache --htaccess=<true|false>
-- Set WP_CACHE to false and clean WP Rocket cache. To also update the htaccess on Apache, use the additionalhtaccess
parameter.wp rocket clean --post_id=<post_id> --permalink=<permalink> --lang=<lang> --blog_id=<blog_id>
-- Purge cache files.wp rocket clean --confirm
-- Purge cache files without prompting for confirmation (usefull for automation tools/scripts)wp rocket preload
-- Preload cache files.wp rocket regenerate --file=<file>
-- Regenerate .htaccess, advanced-cache.php or the WP Rocket config file.wp rocket regenerate --file=config --nginx=true
-- regenerate the config file on Nginx hosts.wp rocket cdn --enable=<enable> --host=<host> --zone=<zone>
-- Enable / Disable CDN with the specified host and zone.wp rocket export
-- Exports the WP Rocket settings as a json file to the current directory.wp rocket import --file=settings.json
-- Imports the settings contained in the provided json file.
Installing
If you're using WP-CLI v0.23.0 or later, you can install this package with:
wp package install wp-media/wp-rocket-cli
All versions of wp-rocket-cli with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package wp-media/wp-rocket-cli contains the following files
Loading the files please wait ....