We’d love to help you submit at least one pull request, so we put together this guide to make it as straightforward as possible. We’re here to support you however we can.
When you submit your pull request, add `Related https://github.com/wp-cli/wp-cli/issues/5832` so we can see all pull requests created during the day. We’ll give these some special promotion in the next release notes.
If you normally use WP-CLI on your web host or via Brew, you’re most likely using the Phar executable. The Phar executable is the “built”, single-file version of WP-CLI. It’s compiled from a couple dozen repositories in the WP-CLI GitHubGitHubGitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ organization, so modifying WP-CLI requires working amongst those repositories.
Before you can work on WP-CLI, you’ll need to first make sure you have PHPPHPPHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. and a functioning MySQLMySQLMySQL is a relational database management system. A database is a structured collection of data where content, configuration and other options are stored. https://www.mysql.com/. or MariaDB server. Once those prerequisites are met, install the wp-cli-dev development environment to start contributing:
git clone https://github.com/wp-cli/wp-cli-dev
The wp-cli-dev installation process clones all of WP-CLI’s repositories to your local machine. After it’s complete, you’ll be able to make changes in whichever repository you’d like. However, you’ll need to fork the repository and add it as a remote in order to push your feature branch.
To help you be successful during Contributor Day, we curated a list of reasonably approachable and actionable issues. Feel free to comment directly on the issue if you plan to work on it. We don’t usually assign issues, so no need to worry about that.