PHPackages                             wp-packagist/wp-cli-helper - 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. [CLI &amp; Console](/categories/cli)
4. /
5. wp-packagist/wp-cli-helper

ActiveLibrary[CLI &amp; Console](/categories/cli)

wp-packagist/wp-cli-helper
==========================

Helper Classes For WP-CLI Developers.

v1.0.2(6y ago)0535[1 issues](https://github.com/wp-packagist/wp-cli-helper/issues)5MITPHPPHP ^5.4 || ^7.0CI failing

Since Feb 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wp-packagist/wp-cli-helper)[ Packagist](https://packagist.org/packages/wp-packagist/wp-cli-helper)[ Docs](https://github.com/wp-packagist/wp-cli-helper)[ RSS](/packages/wp-packagist-wp-cli-helper/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (5)

WP-CLI Helper Class For Developers
==================================

[](#wp-cli-helper-class-for-developers)

This Package contains several helper classes for developers that used for creating WP-CLI Package.

[![Build Status](https://camo.githubusercontent.com/8ae4762571532a490bac450c160874ba56357489fa9c1ca12e8cf6883e75cd98/68747470733a2f2f7472617669732d63692e636f6d2f77702d7061636b61676973742f77702d636c692d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/wp-packagist/wp-cli-helper)[![GitHub repo size](https://camo.githubusercontent.com/ad2775eabb7531894580a9b9c1c8690f489705bd1831742b2f7dbfdc91af85b9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f77702d7061636b61676973742f77702d636c692d68656c706572)](https://camo.githubusercontent.com/ad2775eabb7531894580a9b9c1c8690f489705bd1831742b2f7dbfdc91af85b9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f77702d7061636b61676973742f77702d636c692d68656c706572)[![GitHub](https://camo.githubusercontent.com/4206169b2d3065918224ab6bf73fb8e477fdb4272b22c8da3d6ad58b2048a82a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77702d7061636b61676973742f77702d636c692d68656c7065723f7374796c653d706c6173746963)](https://camo.githubusercontent.com/4206169b2d3065918224ab6bf73fb8e477fdb4272b22c8da3d6ad58b2048a82a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77702d7061636b61676973742f77702d636c692d68656c7065723f7374796c653d706c6173746963)

License
-------

[](#license)

WP-CLI-Helper is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

Installation
------------

[](#installation)

Via Composer

```
composer require wp-packagist/wp-cli-helper
```

Usage
-----

[](#usage)

List of Classes:

ClassDesriptionWP\_CLI\_FileSystemWork with Files in PHP e.g. copy/move/zip/unzip.WP\_CLI\_CONFIGWP-CLI Globals Parameters.WP\_CLI\_HelperAdditional Class in WP-CLI e.g. show Loading Process.WP\_CLI\_ERRORError Handler Class.WP\_CLI\_SRDBSearch/Replace in WordPress Database with serialized Support.WP\_CLI\_Google\_DriveComplete Google Drive Class for upload/download files from this service.WP\_CLI\_UtilSimple PHP Class contain Utility useful Method e.g. load Mustache/generate random key.Author
------

[](#author)

- [Mehrshad Darzi](https://www.linkedin.com/in/mehrshaddarzi/) | PHP Full Stack and WordPress Expert

Contributing
------------

[](#contributing)

We appreciate you taking the initiative to contribute to this project.

Contributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.

### Reporting a bug

[](#reporting-a-bug)

Think you’ve found a bug? We’d love for you to help us get it fixed. Before you create a new issue, you should [search existing issues](https://github.com/wp-packagist/wp-cli-helper/issues?q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.

### Creating a pull request

[](#creating-a-pull-request)

Want to contribute a new feature? Please first [open a new issue](https://github.com/wp-packagist/wp-cli-helper/issues/new) to discuss whether the feature is a good fit for the project.

Once you've decided to commit the time to seeing your pull request through, please follow our guidelines for creating a pull request to make sure it's a pleasant experience:

1. Create a feature branch for each contribution.
2. Submit your pull request early for feedback.
3. Follow [PSR-2 Coding Standards](http://www.php-fig.org/psr/psr-2/).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~6 days

Total

3

Last Release

2308d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/949491?v=4)[Mehrshad Darzi](/maintainers/mehrshaddarzi)[@mehrshaddarzi](https://github.com/mehrshaddarzi)

---

Top Contributors

[![mehrshaddarzi](https://avatars.githubusercontent.com/u/949491?v=4)](https://github.com/mehrshaddarzi "mehrshaddarzi (25 commits)")

---

Tags

cliwordpresswp-cli

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wp-packagist-wp-cli-helper/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k18.5M386](/packages/wp-cli-wp-cli)[wp-cli/wp-cli-bundle

WP-CLI bundle package with default commands.

896.7M152](/packages/wp-cli-wp-cli-bundle)[wearerequired/wp-cli-clear-opcache

Use WP-CLI to clear the OPcache for a site via HTTP.

1736.4k](/packages/wearerequired-wp-cli-clear-opcache)

PHPackages © 2026

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