PHPackages                             geistpress/wp-helpers - 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. geistpress/wp-helpers

ActiveLibrary

geistpress/wp-helpers
=====================

v0.1.1(8y ago)025MITPHPPHP &gt;=5.5

Since Aug 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/PascalKleindienst/WP-Helpers)[ Packagist](https://packagist.org/packages/geistpress/wp-helpers)[ RSS](/packages/geistpress-wp-helpers/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

WP-Helpers
==========

[](#wp-helpers)

[![Travis](https://camo.githubusercontent.com/3484045775c6ce13fc022808e75a47436667845aa0fc77e8d5e81587fcbf0e17/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f50617363616c4b6c65696e6469656e73742f57502d48656c706572732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/PascalKleindienst/WP-Helpers)[![StyleCI](https://camo.githubusercontent.com/9987539802cb4d818267be55175a786b167a3c277fb1b89de52a02ef7cbb7562/68747470733a2f2f7374796c6563692e696f2f7265706f732f37353533383132302f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/75538120)[![Code Climate](https://camo.githubusercontent.com/dfc4c1667e2a589ff45648c0d265510389de761d82d64fa91c13579e9cd5768f/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f50617363616c4b6c65696e6469656e73742f57502d48656c706572732e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/PascalKleindienst/WP-Helpers)

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

[](#installation)

```
$ composer require geistpress/wp-helpers
```

Usage
-----

[](#usage)

Init the Load and View Helper and register Sidebars

```
// Init WP-Helpers
add_action('init', function () {
    // Init Loader
    $loader = new \GeistPress\Helpers\Foundation\Loader();

    // Register all class in sidebars directory with the App\Sidebars namespace
    $loader->register(__DIR__ . '/resources/sidebars', 'App\Sidebars');

    // Register only the Bar class and return its instance
    $foobar = $loader->register(\Foo\Bar::class);

    // Init Views
    \GeistPress\Helpers\Facades\View::init(__DIR__ . '/resources/views/');
});
```

### Registerable

[](#registerable)

To register a class with the loader the class needs to implement the `Registerable` interface and contain a `register` method

```
namespace App\Sidebars;

use GeistPress\Helpers\Foundation\Registerable;

class HeaderBar implements Registerable
{
    /**
     * Register sidebar
     */
    public function register()
    {
        register_sidebar([
            'name'          => __('Header Bar', 'app'),
            'id'            => 'header-bar',
            'description'   => __('Top Bar above the navbar', 'app'),
            'before_widget' => '',
            'after_widget'  => '',
        ]);
    }
}
```

### Views

[](#views)

```
// Render /resources/views/breadcrumbs.phtml and pass the variable $current='home' to it
\GeistPress\Helpers\Facades\View::render('breadcrumbs', ['current' => 'home']);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

3186d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/367c097ec42aec6ed007853fbec64d138734606e71574341f970e273b3efe7fd?d=identicon)[PascalKleindienst](/maintainers/PascalKleindienst)

---

Top Contributors

[![PascalKleindienst](https://avatars.githubusercontent.com/u/3470866?v=4)](https://github.com/PascalKleindienst "PascalKleindienst (20 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/geistpress-wp-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/geistpress-wp-helpers/health.svg)](https://phpackages.com/packages/geistpress-wp-helpers)
```

PHPackages © 2026

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