morningtrain/wp-plugin-updater 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

morningtrain/wp-plugin-updater

最新稳定版本:v0.3.0

Composer 安装命令:

composer require morningtrain/wp-plugin-updater

包简介

Add update functionality to plugins from private plugin repo

README 文档

README

Make it possible to update a plugin through a private plugin repo.

Table of Contents

Introduction

Make it possible to update a plugin through a private plugin repo.

Getting Started

To get started install the package as described below in Installation.

To use the tool have a look at Usage

Installation

Install with composer

composer require morningtrain/wp-plugin-updater

Usage

Getting started

Initialize

Construct at new Morningtrain\WP\PluginUpdater\PluginUpdater with url to the private plugin repo json info and plugin information (slug, base name and plugin version).

// plugin.php
require __DIR__ . "/vendor/autoload.php";

new \Morningtrain\WP\PluginUpdater\PluginUpdater(
    '[PLUGIN_INFO_JSON_URL]',
    '[PLUGIN_SLUG]',
    '[PLUGIN_BASE_NAME]',
    '[PLUGIN_VERSION]'
)

Contributing

Thank you for your interest in contributing to the project.

Bug Report

If you found a bug, we encourage you to make a pull request.

To add a bug report, create a new issue. Please remember to add a telling title, detailed description and how to reproduce the problem.

Support Questions

We do not provide support for this package.

Pull Requests

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contributors

License

The MIT License (MIT). Please see License File for more information.

Developed by

Morningtrain logo

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-13