https://github.com/morning-train/wp-plugin-updater
WordPress plugin updater for private plugin repo
https://github.com/morning-train/wp-plugin-updater
php wordpress wp
Last synced: 6 months ago
JSON representation
WordPress plugin updater for private plugin repo
- Host: GitHub
- URL: https://github.com/morning-train/wp-plugin-updater
- Owner: Morning-Train
- License: mit
- Created: 2023-03-13T08:48:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T08:55:10.000Z (over 3 years ago)
- Last Synced: 2025-01-22T19:45:43.186Z (over 1 year ago)
- Topics: php, wordpress, wp
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Morningtrain\WP\PluginUpdater
Make it possible to update a plugin through a private plugin repo.
## Table of Contents
- [Introduction](#introduction)
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Usage](#usage)
- [Initialize](#initialize)
- [Contributing](#contributing)
- [Contributors](#contributors)
- [License](#license)
## 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](#installation).
To use the tool have a look at [Usage](#usage)
### Installation
Install with composer
```bash
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).
```php
// 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
- [Martin Schadegg Brønniche](https://github.com/mschadegg)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.
---
Developed by