PHPackages                             mahony0/wn-updater-plugin - 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. mahony0/wn-updater-plugin

ActiveWinter-plugin[Utility &amp; Helpers](/categories/utility)

mahony0/wn-updater-plugin
=========================

Plugin for updating WinterCMS via remote command

3112PHP

Since Apr 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mahony0/wn-updater-plugin)[ Packagist](https://packagist.org/packages/mahony0/wn-updater-plugin)[ RSS](/packages/mahony0-wn-updater-plugin/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Remote updater plugin for WinterCMS
===================================

[](#remote-updater-plugin-for-wintercms)

Plugin for updating WinterCMS via remote command

Installation
============

[](#installation)

To install from [the repository](https://github.com/mahony0/wn-updater-plugin), clone it into **plugins/mahony0/updater** and then run `composer update` from your project root in order to pull in the dependencies.

To install it with Composer, run `composer require mahony0/wn-updater-plugin` from your project root.

env Options
===========

[](#env-options)

UPDATER\_ENABLED
----------------

[](#updater_enabled)

> Default: **true**

Either plugin active or disable

UPDATER\_HASH\_CHECK
--------------------

[](#updater_hash_check)

> Default: **true**

If enabled, updater will try to match current date (Y-m-d in UTC) with post "code" parameter. If did not match, then update will be aborted

UPDATER\_DELAY
--------------

[](#updater_delay)

> Default: **60**

Minimum required delay between update requests (in minutes)

UPDATER\_ROUTE
--------------

[](#updater_route)

> Default: **wn-updater-plugin/update**

Updater route for post request to be sent

Sample code
===========

[](#sample-code)

```
$result = Http::post('https://domain.tld/wn-updater-plugin/update', function($http) {

    // Optional, can be disabled by UPDATER_HASH_CHECK=false
    date_default_timezone_set('UTC');
    $http->data(['code' => Hash::make(date('Y-m-d'))]);

});
```

Successful Response
===================

[](#successful-response)

```
{
    "status": true,
    "payload": "Loading composer repositories with package information\r\nUpdating dependencies\r\n........"
}
```

Error Responses
===============

[](#error-responses)

```
{
    "status": false,
    "payload": "Updater is disabled"
}

{
    "status": false,
    "payload": "Provided code did not match"
}

{
    "status": false,
    "payload": "Update cannot be started because not enough time has passed since the last update"
}
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9dc805059b573579c5066ba00e37606ebf357ebddb870d4306792f13ed12fa3?d=identicon)[mahony0](/maintainers/mahony0)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mahony0-wn-updater-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/mahony0-wn-updater-plugin/health.svg)](https://phpackages.com/packages/mahony0-wn-updater-plugin)
```

PHPackages © 2026

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