Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions other-docs/getting-started/third-party-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,30 +39,35 @@ 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
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
{
"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
Expand Down