PHPackages                             lubusin/composer-edd-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lubusin/composer-edd-plugin

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

lubusin/composer-edd-plugin
===========================

Composer plugin for installing pro plugins powered by EDD software licensing

v1.0.0(5y ago)153173[4 issues](https://github.com/lubusIN/composer-edd-plugin/issues)MITPHPCI failing

Since Jun 24Pushed 5y ago7 watchersCompare

[ Source](https://github.com/lubusIN/composer-edd-plugin)[ Packagist](https://packagist.org/packages/lubusin/composer-edd-plugin)[ Patreon](https://www.patreon.com/lubus)[ RSS](/packages/lubusin-composer-edd-plugin/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

 [![Composer EDD Plugin](.github/logo.svg)](.github/logo.svg)

 [![Latest Stable Version](https://camo.githubusercontent.com/1a0bc72fa44e0718e03cb6942ac299db2ed44b49430e741afd6ebac2bf7a302f/68747470733a2f2f706f7365722e707567782e6f72672f6c75627573696e2f636f6d706f7365722d6564642d706c7567696e2f762f737461626c65)](https://packagist.org/packages/lubusin/composer-edd-plugin) [![Total Downloads](https://camo.githubusercontent.com/c9dbca96aed0484d9a6996a89958ad51ac9398cc1cdc13fd4da0e56fdc7b06ab/68747470733a2f2f706f7365722e707567782e6f72672f6c75627573696e2f636f6d706f7365722d6564642d706c7567696e2f646f776e6c6f616473)](https://packagist.org/packages/lubusin/composer-edd-plugin) [![License](https://camo.githubusercontent.com/937145ee1bf97c6da766841ec04efc6351e2931dd3f82376e35f1b54eb7b1925/68747470733a2f2f706f7365722e707567782e6f72672f6c75627573696e2f636f6d706f7365722d6564642d706c7567696e2f6c6963656e7365)](https://github.com/lubusin/composer-edd-plugin/blob/master/LICENSE.txt) [![PRs](https://camo.githubusercontent.com/dd0b24c1e6776719edb2c273548a510d6490d8d25269a043dfabbd38419905da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e737667)](https://github.com/lubusin/composer-edd-plugin/blob/master/contributing.md)

Introduction
------------

[](#introduction)

Composer EDD Plugin enable installing and managing WordPress pro offerings powered by [EasyDigitalDownloads](https://easydigitaldownloads.com/) and [software licensing add-on](https://easydigitaldownloads.com/downloads/software-licensing/) via composer. Works with any plugin or theme delivered via EasyDigitalDownloads and software licensing for distribution.

Installation
------------

[](#installation)

Install the composer plugin to enable composer package via EDD Software licencing.

```
composer require lubusin/composer-edd-plugin
```

Usage
-----

[](#usage)

### Step 1

[](#step-1)

Add the desired WordPress premium offering(s) as package to the repositories field in composer.json. Find more about composer repositories in the [composer documentation](https://getcomposer.org/doc/05-repositories.md#package-2)

```
{
  "type": "package",
  "package": {
    "name": "namespace/edd-product-name",
    "version": "version-number",
    "type": "wordpress-plugin",
    "dist": {
      "type": "zip",
      "url": "https://www.productwebsite.com"
    },
    "extra": {
      "edd_installer": true,
      "item_name": "Product Name",
      "license": "PRODUCT_LICENSE",
      "url": "PRODUCT_ACTIVATION_URL"
    }
  }
}
```

Above package details hold important info to connect and download zip from product store:

**Important**

- `name` this can be customized as per your need, it's the package name used for `composer require namespace/edd-product-name` later
- `version` used to get the zip, check account for version number
- `type` use wordpress-plugin or wordpress-theme,
- `url` product website url (include https)
- `edd_installer` enable package via edd powered store
- `item_name` name of product, can be found under account info
- `license` name of env variable to get the license key *(do not add your actual key here)*
- `url` name of env variable to get the website url associated with the license. *(do not add your actual website url here)*

**Note:**

- Add multiple package enteris to add more then one product
- Most EDD products only allow getting the latest versions of their product, even if you specifically ask for a version.
- Make sure license is already activated for the url.

### Step 2

[](#step-2)

Create `.env` and add the varaible names mentioned in the above step. Find more about .env [here](https://github.com/vlucas/phpdotenv)

```
PRODUCT_LICENSE=product-license-key
PRODUCT_ACTIVATION_URL=product-activation-url

```

### Step 3

[](#step-3)

Create the `auth.json` and Add the store access credentials. Find more about http-basic-authentication in the [composer documentation](https://getcomposer.org/doc/articles/http-basic-authentication.md)

```
{
  "http-basic": {
    "www.productwebsite.com": {
      "username": "your-username",
      "password": "your-password"
    }
  }
}
```

**Important**

- `www.productwebsite.com` product website host name
- `username` login username for product website
- `password` login password for product website

**Note**

To add credentials for more than one product stores add multiple credentials under `http-basic`

### Step 4

[](#step-4)

Install the plugin

```
composer require namespace/edd-product-name
```

Troubleshooting
---------------

[](#troubleshooting)

```
[Composer\Downloader\TransportException]
  Your configuration does not allow connections to http://www.productwebsite.com See https://getcomposer.org/doc/06-config.md#sec
  ure-http for details.

```

you will get above error if edd store deliver file over `http` instead of `https`. To fix this config composer to allow non secure url by setting `secure-http` to false. Find more about secure-http in the [composer documentation](https://getcomposer.org/doc/06-config.md#secure-http)

**Note**

- Use the name set in step 1
- To install multiple products add them seperating with space.

Changelog
---------

[](#changelog)

Please see the [Changelog](CHANGELOG.md)

Feedback / Suggestions
----------------------

[](#feedback--suggestions)

If you have any suggestions/feature request that you would like to see in the upcoming releases, feel free to let us know in the [issues section](https://github.com/lubusIN/composer-edd-plugin/issues)

Contributing
------------

[](#contributing)

Thank you in advance if you wish to contribute to the `Composer EDD Plugin`. You can read the contribution guidelines [here](CONTRIBUTING.md)

Check the development tasklist [here](https://github.com/lubusIN/composer-edd-plugin/projects/1), if something interests you or want to suggest something click [here](https://github.com/lubusIN/composer-edd-plugin/issues)

Security
--------

[](#security)

If you discover any security related issues, please email to [info@lubus.in](mailto:info@lubus.com) instead of using the issue tracker.

Credits
-------

[](#credits)

[Ajit Bohra](http://https://twitter.com/ajitbohra)

Special Mentions
----------------

[](#special-mentions)

- Inspiration [polylang/polylang#3](https://github.com/polylang/polylang/issues/3)
- Motivation [@szepeviktor](https://github.com/szepeviktor) | [polylang/polylang#3 (comment)](https://github.com/polylang/polylang/issues/3#issuecomment-636411477)
- Beta testing [@nirbhay](https://twitter.com/Nirbhay_18) &amp; [@ideabox](https://twitter.com/helloideabox)
- Logo icon credits [prosymbols](https://thenounproject.com/prosymbols)
- Code inspiration
    -
    -
    -
    -

Support Us
----------

[](#support-us)

[![Become A Patron](https://camo.githubusercontent.com/ef7b855018f1f680eeba6fd1ac470b9c1971ef883b2f4b9fcf41034274510e3f/68747470733a2f2f63352e70617472656f6e2e636f6d2f65787465726e616c2f6c6f676f2f6265636f6d655f615f706174726f6e5f627574746f6e2e706e67)](https://www.patreon.com/lubus)[LUBUS](http://lubus.in) is a web design agency based in Mumbai, India.

You can pledge on [patreon](https://www.patreon.com/lubus) to support the development &amp; maintenance of various [opensource](https://github.com/lubusIN/) stuffs we are building.

License
-------

[](#license)

Composer EDD Plugin is open-sourced software licensed under the [MIT license](LICENSE)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2148d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/262dac789595d74fa69a10397f37c6125f027bba0587adaee7d1dc206480507c?d=identicon)[ajitbohra](/maintainers/ajitbohra)

---

Top Contributors

[![ajitbohra](https://avatars.githubusercontent.com/u/1039236?v=4)](https://github.com/ajitbohra "ajitbohra (14 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (2 commits)")

---

Tags

composercomposer-installercomposer-pluginedd

### Embed Badge

![Health badge](/badges/lubusin-composer-edd-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/lubusin-composer-edd-plugin/health.svg)](https://phpackages.com/packages/lubusin-composer-edd-plugin)
```

###  Alternatives

[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
