PHPackages                             regularjack/wp-plugin-boilerplate - 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. regularjack/wp-plugin-boilerplate

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

regularjack/wp-plugin-boilerplate
=================================

An object-oriented boilerplate for developing high-quality, testable WordPress plugins

12227PHP

Since Nov 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/regularjack/wp-plugin-boilerplate)[ Packagist](https://packagist.org/packages/regularjack/wp-plugin-boilerplate)[ RSS](/packages/regularjack-wp-plugin-boilerplate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

WP Plugin Boilerplate
=====================

[](#wp-plugin-boilerplate)

An object-oriented boilerplate for developing high-quality, testable WordPress plugins.

[![Build Status](https://camo.githubusercontent.com/54deddd849c9ec298dc50d68c2dc11e84211839143fe675c534f99559b898e2f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f726567756c61726a61636b2f77702d706c7567696e2d626f696c6572706c6174652e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.org/regularjack/wp-plugin-boilerplate)[![PHP 5.3+](https://camo.githubusercontent.com/3b352e4a7957ae5fa5c25f686df056a980a8e0b6aa764bee2009d5fd6d845e23/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d352e332532422d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/3b352e4a7957ae5fa5c25f686df056a980a8e0b6aa764bee2009d5fd6d845e23/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d352e332532422d677265656e2e7376673f7374796c653d666c61742d737175617265)

**This is an experiment. You probably don't want to use it yet.**

Features
--------

[](#features)

- Autoload PHP classes
    - Use PHP namespaces
    - No more need to `include` every plugin file
- Unit Testing
    - Testing with PHPunit works out of the box
    - Just write your test class and run `phpunit`
    - Ready for travis
- Integration with WP-CLI
- And more:
    - Admin settings screen

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

[](#installation)

Install directly into the plugins folder of a WordPress installation and then rename from `wp-plugin-boilerplate` to whatever you want your plugin to be named (the following commands assume your plugin will be named `wp-foo`):

```
cd wp-content/plugins
git clone git@github.com:regularjack/wp-plugin-boilerplate.git wp-foo
cd wp-plugin-boilerplate
mv languages/wp-plugin-boilerplate.pot languages/wp-foo.pot
find . -type f -exec sed -i 's/WP Plugin Boilerplate/WP Foo/g' {} +
find . -type f -exec sed -i 's/WpPluginBoilerplate/WpFoo/g' {} +
find . -type f -exec sed -i 's/wp-plugin-boilerplate/wp-foo/g' {} +
rm -rf README.md .git

```

Ack
---

[](#ack)

- [DevinVinson/WordPress-Plugin-Boilerplate](https://github.com/DevinVinson/WordPress-Plugin-Boilerplate)
- WP-CLI

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/eee2a7153146ac78d85783b92a9abdf64384078262183d741fce9635c8d83f64?d=identicon)[regularjack](/maintainers/regularjack)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/regularjack-wp-plugin-boilerplate/health.svg)

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

###  Alternatives

[serhioromano/bootstrap-calendar

Bootstrap full view calendar.

3.0k5.9k2](/packages/serhioromano-bootstrap-calendar)[nayjest/manipulator

Utilities for manipulating PHP objects

10301.5k4](/packages/nayjest-manipulator)

PHPackages © 2026

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