PHPackages                             badabingbreda/githubupdater - 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. badabingbreda/githubupdater

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

badabingbreda/githubupdater
===========================

Update your github hosted plugins with ease

1.0.0(1y ago)07MITPHP

Since Aug 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/badabingbreda/GithubUpdater)[ Packagist](https://packagist.org/packages/badabingbreda/githubupdater)[ RSS](/packages/badabingbreda-githubupdater/feed)WikiDiscussions main Synced today

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

GithubUpdater
=============

[](#githubupdater)

Use this class to have your plugin check for an update on github.

Adding custom plugin headers
----------------------------

[](#adding-custom-plugin-headers)

You can add custom headers to your plugin to make it look a little nicer. Add the following to the release notes, they will be used as values for each update setting:

```
Tested: 6.3
Icons: 1x|https://domainname.com/icon-256x256.png?rev=2818463,2x|https://domainname.com/icon-256x256.png?rev=2818463
Banners: low|https://domainname.com/banner-720x250.png,high|https://domainname.com/banner-1440x500.png
RequiresPHP: 7.0

|||
Add your changelog here

```

Release format
--------------

[](#release-format)

Make sure to use the correct release format to indicate that there's an update. Draft a release and add a tag in the x.y.z format. For instance:

```
1.0.0
1.1.0
1.21.3
2.4.9

```

Are all good versions.

Using the updater
-----------------

[](#using-the-updater)

First course of action is to create a release for your plugin on Github. You can draft a release, add a tag '1.0.0' and confirm.

Add the class via Composer from within your plugin's directory:

```
composer require badabingbreda/githubupdater

```

Make sure to include the autoload in your main plugin file.

```
// load our Composer autoload
require_once( 'vendor/autoload.php' );

```

In your plugin add the following:

```
$github_updater = new \BadabingBreda\GithubUpdater(__FILE__ , 'yourusername' , 'repository-slug' );
$github_updater->set_settings([
                    'requires' => '7.4',
                    'tested'   => '6.3',
                ]);
$github_updater->initialize();

```

or, when you accept the default settings:

```
$githubupdater = (new \BadabingBreda\GithubUpdater( __FILE__ , 'yourusername' , 'repository-slug' ))->initialize();

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

674d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12700954?v=4)[Didou Schol](/maintainers/badabingbreda)[@badabingbreda](https://github.com/badabingbreda)

---

Top Contributors

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

---

Tags

pluginwordpressversioningupdate

### Embed Badge

![Health badge](/badges/badabingbreda-githubupdater/health.svg)

```
[![Health](https://phpackages.com/badges/badabingbreda-githubupdater/health.svg)](https://phpackages.com/packages/badabingbreda-githubupdater)
```

###  Alternatives

[afragen/git-updater

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

3.3k1.7k](/packages/afragen-git-updater)[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13565.8k](/packages/webdevstudios-cmb2-attached-posts)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

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