https://github.com/x-wp/updater
WP Package Updater -Simplifies the process of updating WordPress packages from custom repositories
https://github.com/x-wp/updater
plugin-update theme-update wordpress wordpress-library wordpress-repository
Last synced: 8 months ago
JSON representation
WP Package Updater -Simplifies the process of updating WordPress packages from custom repositories
- Host: GitHub
- URL: https://github.com/x-wp/updater
- Owner: x-wp
- License: gpl-2.0
- Created: 2023-07-16T13:25:44.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-05-24T16:05:06.000Z (about 1 year ago)
- Last Synced: 2025-10-24T13:26:41.952Z (8 months ago)
- Topics: plugin-update, theme-update, wordpress, wordpress-library, wordpress-repository
- Language: PHP
- Homepage: https://packagist.org/packages/oblak/wp-package-updater
- Size: 12.8 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 📦 WordPress package updater
### Simplifies the process of updating WordPress packages from custom repositories.
[](https://packagist.org/packages/oblak/wp-package-updater)

[](https://github.com/semantic-release/semantic-release)

[](https://github.com/oblakstudio/wp-package-updater/actions/workflows/release.yml)


## Highlights
* Standardizes the process of updating plugins / themes from custom repositories.
* Fully integrates with Plugin / theme info API.
* Easily extendable / customizable
## Installation
We officially support installing via composer only
### Via composer
```bash
composer require oblak/wp-package-updater
```
## Basic Usage
```Plugin_Updater``` and ```Theme_Updater``` are the main **abstract** classes of the package, and they need to be extended in order to create an updater class.
The class is responsible for registering the plugin / theme update hooks, and for updating the plugin / theme.
At minimum you need to implement the ``get_update_url()`` method, which is responsible for returning the update info URL.
### 1. Define your updater class
```php