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.7k1[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 1mo 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 91% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity82

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

839d 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

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[moonshine/moonshine

Laravel administration panel

1.3k217.1k59](/packages/moonshine-moonshine)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)

PHPackages © 2026

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