PHPackages                             abdallahdeeb/wp-rocket-cli - 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. [Caching](/categories/caching)
4. /
5. abdallahdeeb/wp-rocket-cli

ActiveWp-cli-package[Caching](/categories/caching)

abdallahdeeb/wp-rocket-cli
==========================

Add a `wp rocket` command to support the WP Rocket plugin

v1.1.2(6y ago)05951MITPHPPHP &gt;=5.3.0

Since May 23Pushed 5y agoCompare

[ Source](https://github.com/abdallah/wp-rocket-cli)[ Packagist](https://packagist.org/packages/abdallahdeeb/wp-rocket-cli)[ Docs](https://github.com/GeekPress/wp-rocket-cli)[ RSS](/packages/abdallahdeeb-wp-rocket-cli/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (4)Used By (0)

CLI interface for the WP Rocket
-------------------------------

[](#cli-interface-for-the-wp-rocket)

This repository contains a [WP-CLI command](https://github.com/wp-cli/wp-cli) for the [WP Rocket](http://wp-rocket.me) plugin. After installing this plugin, you will have access to a `wp rocket` command.

Currently supported commands:

- `wp rocket activate` -- Set WP\_CACHE to true.
- `wp rocket deactivate` -- Set WP\_CACHE to false.
- `wp rocket clean --post_id= --permalink= --lang= --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=` -- Regenerate .htaccess, advanced-cache.php or the WP Rocket config file.
- `wp rocket settings load --file=` -- Load settings file.

Installing
----------

[](#installing)

If you're using WP-CLI v0.23.0 or later, you can install this package with:

```
wp package install abdallahdeeb/wp-rocket-cli

```

Changelog
---------

[](#changelog)

### 1.1.AD

[](#11ad)

- Add `settings load` command.

### 1.1

[](#11)

- Add `regenerate` command.

### 1.0

[](#10)

- Initial release

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 64.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~915 days

Total

3

Last Release

2547d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/121dcc752b7df267d7daf7b66031eb8c55c3b756d30f6be42126363a0f9a8612?d=identicon)[abdallahdeeb](/maintainers/abdallahdeeb)

---

Top Contributors

[![GeekPress](https://avatars.githubusercontent.com/u/1285409?v=4)](https://github.com/GeekPress "GeekPress (9 commits)")[![danielbachhuber](https://avatars.githubusercontent.com/u/36432?v=4)](https://github.com/danielbachhuber "danielbachhuber (2 commits)")[![abdallah](https://avatars.githubusercontent.com/u/153072?v=4)](https://github.com/abdallah "abdallah (1 commits)")[![marcinkrzeminski](https://avatars.githubusercontent.com/u/2551613?v=4)](https://github.com/marcinkrzeminski "marcinkrzeminski (1 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")

---

Tags

cachewp-clirocket

### Embed Badge

![Health badge](/badges/abdallahdeeb-wp-rocket-cli/health.svg)

```
[![Health](https://phpackages.com/badges/abdallahdeeb-wp-rocket-cli/health.svg)](https://phpackages.com/packages/abdallahdeeb-wp-rocket-cli)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket-cli

Add a `wp rocket` command to support the WP Rocket plugin

73129.4k2](/packages/wp-media-wp-rocket-cli)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2512.2M6](/packages/beste-in-memory-cache)[anahkiasen/flatten

A package for the Illuminate framework that flattens pages to plain HTML

33313.0k](/packages/anahkiasen-flatten)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
