PHPackages                             gooddaywp/primera-lib - 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. [Templating &amp; Views](/categories/templating)
4. /
5. gooddaywp/primera-lib

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

gooddaywp/primera-lib
=====================

Primera-lib adds Laravel's Blade templating and view controllers to WordPress themes.

0.1.0-beta(6y ago)0241MITPHPPHP &gt;=7.3

Since Apr 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gooddaywp/primera-lib)[ Packagist](https://packagist.org/packages/gooddaywp/primera-lib)[ RSS](/packages/gooddaywp-primera-lib/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (2)Used By (1)

Primera Package
===============

[](#primera-package)

Funtional, but currently under development. This package is part of the Primera WordPress theme.

For an integration example please see .

```
// Init:
primera([
    'viewsDir' => get_theme_file_path('source/views/'),
    'cacheDir' => trailingslashit(wp_get_upload_dir()['basedir']).'blade-cache',
]);

// Add Blade component alias:
primera('blade')->component('components.navbar');

// Rendering views via AJAX:
primera('blade')->render($templateName, $dataArr);
```

For local development integrate the following settings into your theme's composer.json file.

```
{
    "require": {
        "gooddaywp/primera-lib": "@dev"
    },
    "repositories": {
        "dev-package": {
            "type": "path",
            "url": "~/code/primera-lib",
            "options": {
                "symlink": true
            }
        }
    }
}
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

2218d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/63637714?v=4)[GoodDayWP](/maintainers/gooddaywp)[@gooddaywp](https://github.com/gooddaywp)

---

Top Contributors

[![marcwiest](https://avatars.githubusercontent.com/u/815624?v=4)](https://github.com/marcwiest "marcwiest (66 commits)")

---

Tags

laravelwordpressbladewpthemewoocommercemixbabel

### Embed Badge

![Health badge](/badges/gooddaywp-primera-lib/health.svg)

```
[![Health](https://phpackages.com/badges/gooddaywp-primera-lib/health.svg)](https://phpackages.com/packages/gooddaywp-primera-lib)
```

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[fiskhandlarn/blade

A library for using Laravel Blade templates in WordPress/WordPlate.

365.8k](/packages/fiskhandlarn-blade)[hexbit/sage-woocommerce

Woocommerce support for sage 10

257.0k](/packages/hexbit-sage-woocommerce)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)

PHPackages © 2026

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