承接 lubusin/composer-edd-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lubusin/composer-edd-plugin

Composer 安装命令:

composer require lubusin/composer-edd-plugin

包简介

Composer plugin for installing pro plugins powered by EDD software licensing

README 文档

README

Composer EDD Plugin

Latest Stable Version Total Downloads License PRs

Introduction

Composer EDD Plugin enable installing and managing WordPress pro offerings powered by EasyDigitalDownloads and software licensing add-on via composer. Works with any plugin or theme delivered via EasyDigitalDownloads and software licensing for distribution.

Installation

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

composer require lubusin/composer-edd-plugin

Usage

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

{
  "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

Create .env and add the varaible names mentioned in the above step. Find more about .env here

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

Step 3

Create the auth.json and Add the store access credentials. Find more about http-basic-authentication in the composer documentation

{
  "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

Install the plugin

composer require namespace/edd-product-name 

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

Note

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

Changelog

Please see the Changelog

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

Contributing

Thank you in advance if you wish to contribute to the Composer EDD Plugin. You can read the contribution guidelines here

Check the development tasklist here, if something interests you or want to suggest something click here

Security

If you discover any security related issues, please email to info@lubus.in instead of using the issue tracker.

Credits

Ajit Bohra

Special Mentions

Support Us

Become A Patron

LUBUS is a web design agency based in Mumbai, India.

You can pledge on patreon to support the development & maintenance of various opensource stuffs we are building.

License

Composer EDD Plugin is open-sourced software licensed under the MIT license

lubusin/composer-edd-plugin 适用场景与选型建议

lubusin/composer-edd-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 317 次下载、GitHub Stars 达 15, 最近一次更新时间为 2020 年 06 月 24 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 lubusin/composer-edd-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 lubusin/composer-edd-plugin 我们能提供哪些服务?
定制开发 / 二次开发

基于 lubusin/composer-edd-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 317
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 10
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 7
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-24