PHPackages                             ed-itsolutions/wup-client - 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. ed-itsolutions/wup-client

ActiveLibrary

ed-itsolutions/wup-client
=========================

WordPress Update Provider client for use in plugins / themes.

v0.1.3(6y ago)1169MITPHPPHP ^5.3.3 || ^7.0

Since Jun 18Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Ed-ITSolutions/wup-client)[ Packagist](https://packagist.org/packages/ed-itsolutions/wup-client)[ RSS](/packages/ed-itsolutions-wup-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (9)Dependencies (1)Versions (11)Used By (0)

WUP Client
==========

[](#wup-client)

Client side code for [WP Update Provider](https://github.com/Ed-ITSolutions/wp-update-provider).

Install
-------

[](#install)

Using Composer:

```
composer require ed-itsolutions/wup-client

```

Usage
-----

[](#usage)

Require composer as normal.

Add `wup_client` to your `functions.php` or plugin class.

```
// For a plugin
wup_client('plugin', 'plugin-slug', 'http://your.site.com/wup/plugin-slug');

// For a theme
wup_client('theme', 'theme-slug', 'http://your.site.com/wup/theme-slug');
//                                 ^^ URL of your WUP install.
```

That's it!

wup-client will now talk to WUP and offer updates when needed.

CI
--

[](#ci)

wup-client also provides the `wup_build` function which can be used to have your CI build and release a new version of your plugin automatically.

```
wup_build(
  'theme-slug', // The themes (or plugins) slug.
  '/some/path', // The root path of the theme/plugin. Use dirname(__FILE__) to make this generic.
  'deployKey', // The deploy key for the server. DON'T ACTUALLY PUT THIS IN VCS. ProTip. getenv('WUP_DEPLOY_KEY')
  'http://yoursite.com/wp-admin/admin-post.php' // The admin-post.php url for your site.
);
```

Exit Codes:

- 1 - Something went wrong deploying to domain.
- 2 - No deploy key set.

Client Conflict Resolution
--------------------------

[](#client-conflict-resolution)

WUP-Client may end up in multiple plugins on the same site. It maybe that it is being used by 2 wp-update-provider servers and you have no control over updating the other installations.

To prevent issues where pluginA uses wup-client 0.0.X and pluginB uses 0.1.X may cause pluginB to use 0.0.X's `WUPClient` class a system is in place to ensure that the lastest version of WUPClient is used by all plugins and themes on the site.

If breaking changes are introduced a system will be devised to ensure that WUPClient is used within the correct major version.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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 ~49 days

Recently: every ~108 days

Total

10

Last Release

2432d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/930b97839168b9f3710451fa89ba02c5f5642d9c33efc77f4d9f5b621a9941be?d=identicon)[Arcath](/maintainers/Arcath)

---

Top Contributors

[![Arcath](https://avatars.githubusercontent.com/u/19609?v=4)](https://github.com/Arcath "Arcath (15 commits)")

---

Tags

wordpress-php-librarywordpress-updater

### Embed Badge

![Health badge](/badges/ed-itsolutions-wup-client/health.svg)

```
[![Health](https://phpackages.com/badges/ed-itsolutions-wup-client/health.svg)](https://phpackages.com/packages/ed-itsolutions-wup-client)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M710](/packages/maatwebsite-excel)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M680](/packages/drush-drush)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)

PHPackages © 2026

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