PHPackages                             stackborg/wp-core-kits - 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. stackborg/wp-core-kits

ActiveLibrary

stackborg/wp-core-kits
======================

WordPress Plugin Foundation — abstraction layer for building scalable, maintainable WordPress plugins. Provides typed wrappers for WP APIs, DI container, REST infrastructure, and plugin architecture primitives.

1.0.0(1mo ago)01↑2900%MITPHPPHP &gt;=8.2CI passing

Since Mar 23Pushed 1mo agoCompare

[ Source](https://github.com/stackborg/wp-core-kits)[ Packagist](https://packagist.org/packages/stackborg/wp-core-kits)[ RSS](/packages/stackborg-wp-core-kits/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

WP Core Kits
============

[](#wp-core-kits)

Typed PHP abstraction layer over WordPress APIs for building scalable plugins.

> **Internal package.** Maintained by [Stackborg](https://stackborg.com) for its own products. Public use permitted under MIT — no external support or guarantees. Use at your own risk.

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

[](#requirements)

- PHP 8.2+
- WordPress 6.0+

Install
-------

[](#install)

```
composer require stackborg/wp-core-kits
```

What's Inside
-------------

[](#whats-inside)

ModulePurpose`WordPress\Options`Cached options API`WordPress\Hooks`Typed hook registration`WordPress\Sanitizer`Centralized sanitization`WordPress\Asset`Auto-versioned script/style enqueue`WordPress\Database`Auto-prefixed, prepared-statement DB`WordPress\Nonce`CSRF token management`WordPress\Transient`Cached data with TTL`WordPress\User`Capability checks`REST\Controller`Declarative REST route registration`REST\Response`Typed response helpers`Plugin\SingletonTrait`Thread-safe singleton`Plugin\ServiceProvider`Modular plugin architecture`Plugin\ProviderRegistry`Ordered provider lifecycle`Support\Arr`Dot-notation array access`Support\Str`String case conversion**Addon System (opt-in)**`Contracts\AddonInterface`Addon contract`Addon\AddonMeta`addon.json parser + validation`Addon\AddonRegistry`Lifecycle — register, activate, deactivate, scan`Addon\HasAddons`Opt-in trait for plugins`Addon\VersionResolver`SemVer parse, compare, constraint matching`Addon\AddonInstaller`Download, verify, extract, install`Addon\AddonRemover`Deactivate, cleanup, delete`Addon\AddonUpdater`Version check, update with state preserve`Addon\FeatureManager`Feature gating — free/pro tier`Addon\LicenseManager`Encrypted license lifecycle`Addon\LicenseGuard`HMAC-SHA256 + AES-256-CBC security`Addon\AddonApiClient`Stackborg API communication`Addon\AddonController`REST endpoints for addon managementUsage
-----

[](#usage)

See **[DEVELOPER\_GUIDE.md](DEVELOPER_GUIDE.md)** for complete API reference and examples.

Development
-----------

[](#development)

```
composer install
composer check    # phpcs + phpstan + phpunit
```

License
-------

[](#license)

MIT — No warranty. No external support.

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance97

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/228e65bfc2a97f423c78cc984176f48be891ab86591e16633bdfb895c228af15?d=identicon)[MDMasudSikdar71](/maintainers/MDMasudSikdar71)

---

Top Contributors

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

---

Tags

packagephpwordpress

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/stackborg-wp-core-kits/health.svg)

```
[![Health](https://phpackages.com/badges/stackborg-wp-core-kits/health.svg)](https://phpackages.com/packages/stackborg-wp-core-kits)
```

PHPackages © 2026

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