PHPackages                             shazzad/github-plugin-updater - 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. shazzad/github-plugin-updater

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

shazzad/github-plugin-updater
=============================

Helper library to implement wordpress plugin update from github repo.

0.0.3(1y ago)020MITPHP

Since Sep 18Pushed 1y ago2 watchersCompare

[ Source](https://github.com/shazzad/github-plugin-updater)[ Packagist](https://packagist.org/packages/shazzad/github-plugin-updater)[ RSS](/packages/shazzad-github-plugin-updater/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Github Plugin Updater
=====================

[](#github-plugin-updater)

Helper library to implement wordpress plugin updates from github repository.

**This implmenetation support both public and private repository.**

Usage
-----

[](#usage)

### Step 1:

[](#step-1)

Add a header (1,2,3) block named `Requirements` to your repository `README.md` file.

```
### Requirements

- WordPress: 6.0.1
- PHP: 7.4
- Tested: 6.0.2
```

### Step 2:

[](#step-2)

Create a `CHANGELOG.md` file in you repo. Add change history with each version number.

```
#### 1.0.2 2021-04-03

- changed admin sliders default orderby to name.
- removed unused script file.

#### 1.0.1 2021-04-02

- updated code formatting.
- update stlyes.
```

### Step 3:

[](#step-3)

Add this repository in your composer.json file.

```
"require": {
    "shazzad/github-plugin-updater": "dev-main"
}
```

### Step 4:

[](#step-4)

Install dependecy using `composer install` or `composer update` command.

### Step 5:

[](#step-5)

Add following code at the bottom of your plugin's main file.

```
if ( class_exists( '\Shazzad\GithubPlugin\Updater' ) ) {
     new \Shazzad\GithubPlugin\Updater(
        array(
            'file'         => __FILE__,
            // Name of the repo owner/organization
            'owner'        => 'shazzad',
            // Repository name
            'repo'         => 'wp-logs',
            // Set true if private repo
            'private_repo' => true,
            // Owner name is used on api key settings
            'owner_name'   => 'Shazzad'
        )
    );
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Every ~381 days

Total

3

Last Release

576d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b16b41301e0e27abe50b08f308894664ce3a79e5906c9c8e80b5e2558854218?d=identicon)[shazzad](/maintainers/shazzad)

---

Top Contributors

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

---

Tags

wordpresswordpress-plugin-updater

### Embed Badge

![Health badge](/badges/shazzad-github-plugin-updater/health.svg)

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

###  Alternatives

[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)[wp-hooks/generator

Generates a JSON representation of the WordPress actions and filters in your code

86178.4k3](/packages/wp-hooks-generator)[stepanenko3/nova-cards

A Laravel Nova info cards.

33143.0k](/packages/stepanenko3-nova-cards)[mobizel/markdown-docs-bundle

Explore your markdown documentation files via html web pages

108.6k](/packages/mobizel-markdown-docs-bundle)[benmanu/silverstripe-styleguide

Generates a styleguide for a SilverStripe theme

108.1k1](/packages/benmanu-silverstripe-styleguide)

PHPackages © 2026

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