From 759800793f67c2ccc987348978c1c744dddafe8a Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sun, 3 May 2026 20:41:26 -0500 Subject: [PATCH 1/2] Update plugin install docs to use WP Packages --- other-docs/getting-started/third-party-plugins.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/other-docs/getting-started/third-party-plugins.md b/other-docs/getting-started/third-party-plugins.md index 053018ca..a7fa077a 100644 --- a/other-docs/getting-started/third-party-plugins.md +++ b/other-docs/getting-started/third-party-plugins.md @@ -39,9 +39,9 @@ into the correct directory: Some plugins are not available natively on Packagist, and are available only via the [WordPress.org Plugin Repository](https://wordpress.org/plugins/). These can be installed via a third-party Composer repository -called [WordPress Packagist](https://wpackagist.org/). +called [WP Packages](https://wp-packages.org/). -To set up and configure WordPress Packagist, first add the custom repository to your project's `composer.json` under +To set up and configure WP Packages, first add the custom repository to your project's `composer.json` under a `repositories` key: ```json @@ -49,20 +49,20 @@ a `repositories` key: "repositories": [ { "type": "composer", - "url": "https://wpackagist.org" + "url": "https://repo.wp-packages.org" } ] } ``` -To install plugins, you can now use `composer require wpackagist-plugin/{plugin-name}`, where `{plugin-name}` is the "slug" of the +To install plugins, you can now use `composer require wp-plugin/{plugin-name}`, where `{plugin-name}` is the "slug" of the plugin from the WordPress.org Plugin Repository to install. For example, [Akismet](https://wordpress.org/plugins/akismet/) is available at `https://wordpress.org/plugins/akismet/`, so the " slug" of the plugin is `akismet`. You can install this with: ```sh -composer require wpackagist-plugin/akismet +composer require wp-plugin/akismet ``` ## Managing Plugins Manually From ce1c5d63a4c34457aa4617844f6b239b45a779f5 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sun, 3 May 2026 20:44:49 -0500 Subject: [PATCH 2/2] Add 1 liner --- other-docs/getting-started/third-party-plugins.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/other-docs/getting-started/third-party-plugins.md b/other-docs/getting-started/third-party-plugins.md index a7fa077a..d28ae71c 100644 --- a/other-docs/getting-started/third-party-plugins.md +++ b/other-docs/getting-started/third-party-plugins.md @@ -41,8 +41,13 @@ Some plugins are not available natively on Packagist, and are available only via the [WordPress.org Plugin Repository](https://wordpress.org/plugins/). These can be installed via a third-party Composer repository called [WP Packages](https://wp-packages.org/). -To set up and configure WP Packages, first add the custom repository to your project's `composer.json` under -a `repositories` key: +To set up and configure WP Packages, run the following command from your project root: + +```sh +composer config repositories.wp-packages composer https://repo.wp-packages.org +``` + +Or add the repository manually to your project's `composer.json` under a `repositories` key: ```json {