PHPackages                             nirjharlo/wp-plugin-framework - 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. nirjharlo/wp-plugin-framework

ActiveWordpress-plugin[Framework](/categories/framework)

nirjharlo/wp-plugin-framework
=============================

A framework for quick production of WordPress plugins.

v1.4.3(5y ago)14145GPL-2.0-or-laterPHPPHP &gt;=5.3.0CI failing

Since Jul 26Pushed 11mo agoCompare

[ Source](https://github.com/nirjharlo/wp-plugin-framework)[ Packagist](https://packagist.org/packages/nirjharlo/wp-plugin-framework)[ Docs](https://github.com/nirjharlo/wp-plugin-framework)[ RSS](/packages/nirjharlo-wp-plugin-framework/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (5)DependenciesVersions (12)Used By (0)

WP Plugin Framework
===================

[](#wp-plugin-framework)

A lightweight foundation for rapid WordPress plugin development. The framework provides reusable classes for common tasks such as database setup, custom post types, REST API endpoints and more. Build feature rich plugins without rewriting boilerplate every time.

[![Build Status](https://camo.githubusercontent.com/b07d213a9f01993651a1ad5ca73ab65af10ab5a08a3090de9856342bffc0d604/68747470733a2f2f7472617669732d63692e6f72672f6e69726a6861726c6f2f77702d706c7567696e2d6672616d65776f726b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nirjharlo/wp-plugin-framework)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/f3afd55d51fbc498a17a372b39d6ac1af4a45d9e0ffea671b60917668810e3d9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e69726a6861726c6f2f77702d706c7567696e2d6672616d65776f726b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nirjharlo/wp-plugin-framework/)

Requirements
------------

[](#requirements)

- PHP 7.1+
- WordPress 5.0+

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

[](#installation)

```
composer install
```

For production use `composer install --no-dev`.

Usage
-----

[](#usage)

1. Update namespaces in `wp-plugin-framework.php` and `Plugin/PluginLoader.php` to match your plugin name.
2. Instantiate any of the engine classes or extend them to add your own logic.
3. A lightweight service container now powers `PluginLoader`, keeping class instantiation clean and testable.
4. Register plugin features inside `PluginLoader` to keep everything organised.

Features
--------

[](#features)

- Settings pages, widgets, metaboxes and shortcodes
- Database migration helpers
- Fluent API integration class
- Cron scheduler wrapper
- REST API controller scaffold
- Simple service container for dependency injection

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes please open an issue first to discuss what you would like to change.

License
-------

[](#license)

GPL-2.0-or-later. See [LICENSE](LICENSE).

See [CHANGELOG](CHANGELOG.md) for release notes.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Total

3

Last Release

1955d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12272503?v=4)[Nir](/maintainers/nirjharlo)[@nirjharlo](https://github.com/nirjharlo)

---

Top Contributors

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

---

Tags

ajaxmetaboxesshortcodewidgetwordpresswordpress-boilerplatewordpress-developmentwordpress-frameworkwordpress-pluginwordpress-plugin-boilerplatewordpress-plugin-developmentwp-pluginframeworkwordpress

### Embed Badge

![Health badge](/badges/nirjharlo-wp-plugin-framework/health.svg)

```
[![Health](https://phpackages.com/badges/nirjharlo-wp-plugin-framework/health.svg)](https://phpackages.com/packages/nirjharlo-wp-plugin-framework)
```

###  Alternatives

[themosis/theme

The Themosis framework boilerplate theme.

10349.0k3](/packages/themosis-theme)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

273.9k1](/packages/alleyinteractive-pest-plugin-wordpress)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.2k5](/packages/wpstarter-framework)

PHPackages © 2026

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