PHPackages                             helsingborg-stad/global-blade-engine - 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. helsingborg-stad/global-blade-engine

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

helsingborg-stad/global-blade-engine
====================================

A static instance of blade engine to be used cross-package.

4.0.2(2y ago)045.8k1[1 PRs](https://github.com/helsingborg-stad/global-blade-engine/pulls)MITPHPPHP ^8.3

Since Apr 12Pushed 1y ago9 watchersCompare

[ Source](https://github.com/helsingborg-stad/global-blade-engine)[ Packagist](https://packagist.org/packages/helsingborg-stad/global-blade-engine)[ RSS](/packages/helsingborg-stad-global-blade-engine/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (15)Versions (16)Used By (0)

Global Blade Engine
===================

[](#global-blade-engine)

Creates a single instance of benjamincrozat/blade to be used in multiple packages and project running side-by-side.

Known issues
------------

[](#known-issues)

- View names must be unique to whole project. For now the solution is to set view path one level above the target dir and make the name unique. You calls to view will be prefixed with this folder name. Eg. @include("uniquename.viewname")

Getting started
---------------

[](#getting-started)

Recommended method of usage is with composer. Add the requirement below, to enable a new set of awesome features.

```
composer reqire helsingborg-stad/global-blade-engine

```

Example usage (register a component)
------------------------------------

[](#example-usage-register-a-component)

```
use \HelsingborgStad\GlobalBladeEngine as Blade;

Blade::addViewPath(BASEPATH . 'views');

echo Blade::instance()->make($view, $data)->render();
```

Developer mode
--------------

[](#developer-mode)

Add the following CONSTANT to your config file to clear the blade cache while in development mode:

```
define( 'GLOBAL_BLADE_ENGINE_CLEAR_CACHE' , true );
```

Built With
----------

[](#built-with)

- Laravel Blade 5.8 based on standalone version benjamincrozat/blade

Dependencies
------------

[](#dependencies)

- PHP ^8.3

Releases
--------

[](#releases)

Authors
-------

[](#authors)

- Sebastian Thulin

License
-------

[](#license)

This project is licensed under the MIT License - see the LICENSE file for details

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~81 days

Total

11

Last Release

885d ago

Major Versions

1.3.0 → 2.0.02023-03-14

2.0.0 → 4.0.02024-01-30

### Community

Maintainers

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

---

Top Contributors

[![silvergrund](https://avatars.githubusercontent.com/u/4200504?v=4)](https://github.com/silvergrund "silvergrund (4 commits)")[![thorbrink](https://avatars.githubusercontent.com/u/1064724?v=4)](https://github.com/thorbrink "thorbrink (3 commits)")[![nRamstedt](https://avatars.githubusercontent.com/u/16800993?v=4)](https://github.com/nRamstedt "nRamstedt (1 commits)")[![Sven65](https://avatars.githubusercontent.com/u/10225982?v=4)](https://github.com/Sven65 "Sven65 (1 commits)")

---

Tags

blade-componentsblade-engineglobal-blade-engine

### Embed Badge

![Health badge](/badges/helsingborg-stad-global-blade-engine/health.svg)

```
[![Health](https://phpackages.com/badges/helsingborg-stad-global-blade-engine/health.svg)](https://phpackages.com/packages/helsingborg-stad-global-blade-engine)
```

###  Alternatives

[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[illuminate/view

The Illuminate View package.

13047.0M2.2k](/packages/illuminate-view)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)

PHPackages © 2026

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