morningtrain / wp-plugin-updater
Add update functionality to plugins from private plugin repo
This package is auto-updated.
Last update: 2024-11-13 12:44:33 UTC
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
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
Contributors
License
The MIT License (MIT). Please see License File for more information.
Developed by