PHPackages                             justcoded/wordpress-theme-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. justcoded/wordpress-theme-boilerplate

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

justcoded/wordpress-theme-boilerplate
=====================================

WordPress theme boilerplate with better code structure and OOP support.

3.1.2(6y ago)563.9k18[4 PRs](https://github.com/justcoded/wordpress-theme-boilerplate/pulls)1MITPHPPHP &gt;=7.0

Since Nov 21Pushed 5y ago5 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (21)Used By (1)

WordPress Theme Boilerplate
===========================

[](#wordpress-theme-boilerplate)

This package contains Theme Boilerplate, which has a lot of improvements and security patches, according to standard WordPress theme boilerplates (like underscore, etc.). The code is object-oriented and works with PSR-4 autoload.

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

[](#requirements)

- PHP 7.0+
- [WordPress Theme Framework](https://github.com/justcoded/wordpress-theme-framework) plugin.

Theme core files (base classes) are presented as separate wordpress plugin package called [WordPress Theme Framework](https://github.com/justcoded/wordpress-theme-framework). They were moved as a plugin to provide easier support and updates population through different site installations.

This solution makes possible to deliver new updates and hot fixes without modifying the theme code.

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

[](#whats-inside)

### Better File Structure

[](#better-file-structure)

The organization of a theme is very similar to modern PHP Frameworks. We totally separated registration of hooks and components, query logic, and the templates.

We tried to keep as much standard WordPress features as possible, so all "views" work in the same Template Hierarchy as standard templates, just grouped by content types (with folders).

[![File structure](https://github.com/justcoded/wordpress-theme-boilerplate/wiki/assets/boilerplate-file-structure.png)](https://github.com/justcoded/wordpress-theme-boilerplate/wiki/assets/boilerplate-file-structure.png)

### Template Inheritance

[](#template-inheritance)

We added modern template inheritance system based on layouts (very similar to Laravel and Yii frameworks). Some WordPress developers call it a "Theme Wrapper". Markup is handled by one layout file (or more if needed) instead of being scattered across all template files as in typical themes. Stay DRY!

### Security and Optimization

[](#security-and-optimization)

Theme files are nice and clean, and Theme Framework has a lot of hooks to make your WordPress more secure and keep the final generated HTML clean and optimized.

### Documentation

[](#documentation)

[Read our Wiki](https://github.com/justcoded/wordpress-theme-boilerplate/wiki) to find out all features.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 56.6% 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 ~62 days

Recently: every ~115 days

Total

14

Last Release

2289d ago

Major Versions

1.1.6 → 3.02018-09-18

### Community

Maintainers

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

---

Top Contributors

[![aprokopenko](https://avatars.githubusercontent.com/u/1842666?v=4)](https://github.com/aprokopenko "aprokopenko (69 commits)")[![ndudarev](https://avatars.githubusercontent.com/u/44971567?v=4)](https://github.com/ndudarev "ndudarev (25 commits)")[![mzhirov](https://avatars.githubusercontent.com/u/33665424?v=4)](https://github.com/mzhirov "mzhirov (24 commits)")[![ksamojlenko](https://avatars.githubusercontent.com/u/30312816?v=4)](https://github.com/ksamojlenko "ksamojlenko (3 commits)")[![ookhrimenko](https://avatars.githubusercontent.com/u/35500007?v=4)](https://github.com/ookhrimenko "ookhrimenko (1 commits)")

---

Tags

boilerplatewordpresswordpress-themecomposerwordpresswpwordpress-themejustcodedtheme boilerplatewp theme

### Embed Badge

![Health badge](/badges/justcoded-wordpress-theme-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/justcoded-wordpress-theme-boilerplate/health.svg)](https://phpackages.com/packages/justcoded-wordpress-theme-boilerplate)
```

###  Alternatives

[varunsridharan/wp-dependencies

Provides Function To Check if a plugin is active/inactive &amp; function to compare versions.

1032.5k1](/packages/varunsridharan-wp-dependencies)

PHPackages © 2026

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