PHPackages                             perry-rylance/wordpress-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. [Framework](/categories/framework)
4. /
5. perry-rylance/wordpress-plugin

ActiveLibrary[Framework](/categories/framework)

perry-rylance/wordpress-plugin
==============================

A basic boilerplate WordPress plugin, including activation and de-activation hooks, first run, update detection, admin menu and script loading callbacks.

1.0.1(5y ago)1179[3 issues](https://github.com/PerryRylance/WordPressPlugin/issues)MITPHPPHP &gt;=5.4.0

Since Aug 4Pushed 5y agoCompare

[ Source](https://github.com/PerryRylance/WordPressPlugin)[ Packagist](https://packagist.org/packages/perry-rylance/wordpress-plugin)[ Docs](https://perryrylance.com)[ RSS](/packages/perry-rylance-wordpress-plugin/feed)WikiDiscussions master Synced 1w ago

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

WordPress Boilerplate Plugin
============================

[](#wordpress-boilerplate-plugin)

A basic boilerplate WordPress plugin, including activation and de-activation hooks, first run, update detection, admin menu and script loading callbacks.

Installation
------------

[](#installation)

I recommend installing this library via Composer:

`composer require perry-rylance/wordpress-plugin`

Usage
-----

[](#usage)

Extend from `PerryRylance\WordPress\Plugin` to use the plugin.

You must define the following methods, which are abstract in the base class:

- `getPluginSlug`
- `getPluginDirPath`

The following methods can be overridden as and where you need to do so:

- `onActivate` (Please remember to call the base method)
- `onDeactivate`
- `onFirstRun`
- `onUpdated($prevVersion)`
- `onTextDomain`
- `onAdminMenu`
- `onAdminEnqueueScripts`
- `onEnqueueScripts`

*It is recommended* that your plugin instantiates itself immediately (eg do not wait for `plugins_loaded` or `init`) so that activation and de-activation hooks work correctly.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

2113d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/35a517d8044830b0a015a9b7284ce900de922292ac8298b5b6320354cd19f470?d=identicon)[PerryRylance](/maintainers/PerryRylance)

---

Top Contributors

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

---

Tags

wordpressboilerplate

### Embed Badge

![Health badge](/badges/perry-rylance-wordpress-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/perry-rylance-wordpress-plugin/health.svg)](https://phpackages.com/packages/perry-rylance-wordpress-plugin)
```

###  Alternatives

[themosis/theme

The Themosis framework boilerplate theme.

10449.0k3](/packages/themosis-theme)[wordpress-phoenix/abstract-plugin-base

PHP class to extend when building a WordPress plugin allowing you to follow smart plugin setup standards.

1013.0k1](/packages/wordpress-phoenix-abstract-plugin-base)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

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