PHPackages                             springdevs/wp-update - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. springdevs/wp-update

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

springdevs/wp-update
====================

A minimal helper to update wordpress plugin from your own self-hosted WordPress Plugin repository.

1.0.1(4y ago)4161MITPHPPHP &gt;=5.3.0

Since Dec 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/springdevs/wp-update)[ Packagist](https://packagist.org/packages/springdevs/wp-update)[ Docs](https://springdevs.com)[ RSS](/packages/springdevs-wp-update/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Wp Update
=========

[](#wp-update)

A minimal helper to update wordpress plugin from your own self-hosted WordPress Plugin repository.

Install
-------

[](#install)

```
composer require springdevs/wp-update
```

Usage
-----

[](#usage)

```
add_action('init', 'update_plugin');

function update_plugin() {
    new \SpringDevs\WpUpdate\Update(
        PLUGIN_CURRENT_VERSION,
        'https://example.com/check-update',
        'plugin-dir/plugin.php'
    );
}
```

Host API
--------

[](#host-api)

Ensure that your `check-update` api must be return look like these example response :

```
{
    "name": "Update Pro",
    "slug": "update-pro",
    "author": "SpringDevs",
    "author_profile": "http://profiles.wordpress.org/springdevs",
    "version": "1.0.2",
    "homepage": "https://example.com/plugin",
    "download_url": "http://example.com/plugins/update_pro.zip",
    "requires": "3.0",
    "tested": "5.8.2",
    "requires_php": "5.3",
    "last_updated": "2021-12-09 02:10:00",
    "sections": {
        "description": "your plugin description here",
        "installation": "Click the activate button and that's it.",
        "changelog": "Bug fixes.Tested up to wp-v5.8.2"
    },
    "banners": {
        "low": "https://plugins.svn.wordpress.org/wc-booking/assets/banner-772x250.jpg",
        "high": "https://plugins.svn.wordpress.org/wc-booking/assets/banner-772x250.jpg"
    }
}
```

**Enjoy!**

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~130 days

Total

2

Last Release

1490d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/319b2f005289ab2deb22a81091793a036edacdb392b865d9c9256917f4d30330?d=identicon)[Ok9xNirab](/maintainers/Ok9xNirab)

---

Top Contributors

[![Ok9xNirab](https://avatars.githubusercontent.com/u/40653908?v=4)](https://github.com/Ok9xNirab "Ok9xNirab (5 commits)")

---

Tags

self-hostedupdate-pluginwordpresswordpress-pluginwordpressauto-updatewp-plugin-update

### Embed Badge

![Health badge](/badges/springdevs-wp-update/health.svg)

```
[![Health](https://phpackages.com/badges/springdevs-wp-update/health.svg)](https://phpackages.com/packages/springdevs-wp-update)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
