How to Connect to the Themeisle Composer Registry
The Themeisle Composer registry allows you to easily integrate and manage your WordPress product packages using Composer. Follow the steps below to connect your Composer setup to the registry.
Step 1: Locate Your Composer Key
Your Composer key is required to authenticate with the registry. You can find your key in your account on store.themeisle.com/composer.
Step 2: Configure the Composer Registry
The Themeisle Composer registry is available at the following URL:
https://api.themeisle.com/packagist
You need to configure Composer to use this registry with Bearer Authentication.
Add the Themeisle Composer registry to your project’s composer.json
file. Include the following snippet in the repositories
section:
"repositories": [ { "type": "composer", "url": "https://api.themeisle.com/packagist" } ]
This configuration allows Composer to recognize the Themeisle registry as a source for packages.
Step 3: Use Bearer Authentication
To authenticate your connection, use Composer's Bearer Authentication method. Run the following command in your terminal, replacing [your-composer-key]
with your actual Composer key:
composer config [--global] bearer.api.themeisle.com [your-composer-key]
The --global
option is optional. Use it if you want the configuration to apply across all your projects.
Step 4: Require a Product
After configuring the registry and authenticating, you can require any product using its slug. For example, to include the Feedzy RSS Feeds Pro plugin in your project, run:composer require themeisle/feedzy-rss-feeds-pro
Replace feedzy-rss-feeds-pro with the slug of the product you wish to include.
Step 5: Using Multiple Licenses (Optional)
If you have multiple licenses and need to scope access to a specific license, append the license key as a suffix to your Composer key. For example:
[your-composer-key]:[your-license-key]
This ensures that the specific license is used for the registry connection.
Additional Resources
For more details about Composer authentication, see the Composer Authentication Documentation.
If you encounter any issues or need support, please contact our team at store.themeisle.com/support.