{"id":18566887,"url":"https://github.com/friends-of-wp/wp-dev-cli","last_synced_at":"2026-04-25T12:34:21.445Z","repository":{"id":154047971,"uuid":"631262928","full_name":"friends-of-wp/wp-dev-cli","owner":"friends-of-wp","description":"This command line tool helps WordPress developers with their daily work.","archived":false,"fork":false,"pushed_at":"2023-04-28T15:18:56.000Z","size":768,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-02-17T13:28:27.940Z","etag":null,"topics":["cli","wordpress","wordpress-development"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/friends-of-wp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-22T13:13:33.000Z","updated_at":"2023-04-30T11:20:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fba98eb-6c8f-49ba-a6da-aaab8dc70de2","html_url":"https://github.com/friends-of-wp/wp-dev-cli","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friends-of-wp%2Fwp-dev-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friends-of-wp%2Fwp-dev-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friends-of-wp%2Fwp-dev-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friends-of-wp%2Fwp-dev-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friends-of-wp","download_url":"https://codeload.github.com/friends-of-wp/wp-dev-cli/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414501,"owners_count":22067272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","wordpress","wordpress-development"],"created_at":"2024-11-06T22:24:42.078Z","updated_at":"2026-04-25T12:34:16.394Z","avatar_url":"https://github.com/friends-of-wp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Friends of WP - WordPress Developer CLI\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/friends-of-wp/wp-dev-cli/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/friends-of-wp/wp-dev-cli/?branch=develop)\n\nThis command line tool helps WordPress developers with their daily work. It is maintained by the [Friends of WP](https://www.friendsofwp.com) and published unter the MIT license.\n\n## Why not using the official WordPress CLI?\n\nThere is already a perfect [WordPress CLI](https://wp-cli.org/) out there. So why did we decide to implement one on our own? The WP CLI is build to manage your installed WordPress without using a browser. It helps with the daily work. \n\nOur new WP DEV CLI is built for developers. It provides all needed tools to create plugins, themes and other elements. So this CLI is used before the go live and the WP CLI afterwards. \n\nBeing not the tool running on the server has one big advantage. We do not have to support old PHP versions ([\u003e 74 % of all WordPress installations use PHP 7.4 and lower](https://github.com/friends-of-wp/wp-dev-cli-ext-statistics)). That means the DEV CLI can use all features PHP 8 has in store. \n\n## Be part of the project\n\n- [How to create Commands](docs/command-create.md)\n\n## Usage\n\nDownload the latest version of our PHAR archive and give it afterwards rights to be executed.\n\n```shell\nwget https://github.com/friends-of-wp/wp-dev-cli/releases/latest/download/wp-dev.phar\nchmod +x wp-dev.phar\n```\n\nTo check if the CLI tool is ready to use type:\n\n```shell\n./wp-dev.phar\n```\nA console output similar to this should appear\n\n![CLI Output](docs/images/cli-output.png)\n\nNow you are ready to use our WordPress CLI for Developers.\n\n## Commands\n\n- **`wordpress:directory:export`** - This command exports the information for all plugins from the wordpress.org plugin directory into a CSV file. \n\n\n- **`wordpress:security:version`** - This command returns security information about the given WordPress version. If it is unsecure it will return the closest secure version. [More information](https://github.com/friends-of-wp/wp-dev-cli-ext-security).\n\n\n- **`plugin:boilerplate:create`** - This function creates a new plugin boilerplate with all needed dependency. Additional steps can easily be defined. [More information](https://github.com/friends-of-wp/wp-dev-cli-ext-boilerplate).\n\n\n- **`wordpress:statistics:wordpress`** - Shows the current usage and share of the WordPress versions that are installed. [More information](https://github.com/friends-of-wp/wp-dev-cli-ext-statistics).\n\n\n- **`wordpress:statistics:php`** - Shows the current usage and share of the PHP versions that are installed. We enrich the data with the support dates of the PHP versions. Versions shown in red are already out of support. This can be super dangerous as no sucurity updates will be provided. [More information](https://github.com/friends-of-wp/wp-dev-cli-ext-statistics).\n\n\n- **`wordpress:statistics:mysql`** - Shows the current usage and share of the MySQL versions that are installed. [More information](https://github.com/friends-of-wp/wp-dev-cli-ext-statistics).\n\n\n- **`wordpress:statistics:locale`** - Shows the current usage of the different locales that are available in WordPress. [More information](https://github.com/friends-of-wp/wp-dev-cli-ext-statistics).\n\n\n- **`commands:*`** - list, show and run predefined commands. This list comes from a Gist repository and will be enriched without you having to update this client. [More information](https://github.com/friends-of-wp/wp-dev-cli-ext-commands-gist)\n\n## Ideas\n\nThis CLI tool will always be work in progress. We have a lot of ideas that can be implemented. But it's open source ... feel free to add your own functionality.\n\n- Increase test coverage\n- Use PHPStan\n- Add \"how to create a new release\"\n- Auto-update the phar file\n- Add a \"verbose mode\"\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriends-of-wp%2Fwp-dev-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriends-of-wp%2Fwp-dev-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriends-of-wp%2Fwp-dev-cli/lists"}