PHPackages                             nicholas-wordpress/core - 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. nicholas-wordpress/core

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

nicholas-wordpress/core
=======================

Nearly-headless application support for WordPress themes

1.1.0(4y ago)03001[3 issues](https://github.com/nicholas-wordpress/underpin-module/issues)[1 PRs](https://github.com/nicholas-wordpress/underpin-module/pulls)MITPHP

Since Aug 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nicholas-wordpress/underpin-module)[ Packagist](https://packagist.org/packages/nicholas-wordpress/core)[ RSS](/packages/nicholas-wordpress-core/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (7)Versions (15)Used By (0)

Nicholas Underpin Module
========================

[](#nicholas-underpin-module)

This module sets up the back-end logic necessary to use, and extend a nearly headless WordPress website.

Boilerplate
-----------

[](#boilerplate)

This module is used in [a theme boilerplate](https://github.com/nicholas-wordpress/nearly-headless-theme). You probably want to use that directly.

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

[](#installation)

`composer require nicholas-wordpress/core`

Extending
---------

[](#extending)

This is an [Underpin](github.com/underpin-WP/underpin) module, and the entrypoint for it is using the function `nicholas`, and it comes built-in with a handful of loaders:

1. Script loader
2. Rest Endpoint Loader
3. Meta Loader
4. Option Loader
5. Template Loader
6. Decision List Loader

Scripts
-------

[](#scripts)

This module assumes that your theme has 3 scripts built-into the `build` directory of your theme:

1. admin.js - Gets enqueued in the settings screen located in **Settings&gt;&gt;&gt;Nicholas Settings**
2. editor.js - Gets enqueued on block editor pages
3. theme.js - Gets enqueued on front-end pages that are not using compatibility mode
4. sessionManager.js - Forces a session to clear the cache if the `nicholas_flush_cache` cookie is set.

REST Endpoints
--------------

[](#rest-endpoints)

This module loads in a set of endpoints in the `nicholas/v1` namespace. These endpoints are used by the various scripts mentioned above to run the nearly-headless paradigm.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Total

4

Last Release

1629d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e6206223bd6f2a57b8ac80605b1b5c3521faaec18ad3f20f25fb728a9a13784?d=identicon)[tstandiford](/maintainers/tstandiford)

---

Top Contributors

[![alexstandiford](https://avatars.githubusercontent.com/u/8210827?v=4)](https://github.com/alexstandiford "alexstandiford (25 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/nicholas-wordpress-core/health.svg)

```
[![Health](https://phpackages.com/badges/nicholas-wordpress-core/health.svg)](https://phpackages.com/packages/nicholas-wordpress-core)
```

###  Alternatives

[slack-php/slack-block-kit

OOP interface for writing Slack Block Kit messages and modals

55754.2k6](/packages/slack-php-slack-block-kit)

PHPackages © 2026

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