PHPackages                             rcalicdan/blade - 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. rcalicdan/blade

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

rcalicdan/blade
===============

A standalone fork of jenssegers/blade, Laravel's Blade templating engine for use outside of Laravel. This maintained version includes fixes for modern PHP environments.

1.0.1(1y ago)0407↑33.3%1MITPHPPHP &gt;=8.1CI failing

Since Apr 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rcalicdan/blade-latest)[ Packagist](https://packagist.org/packages/rcalicdan/blade)[ GitHub Sponsors](https://github.com/jenssegers)[ Fund](https://opencollective.com/jenssegers-blade)[ RSS](/packages/rcalicdan-blade/feed)WikiDiscussions main Synced 1mo ago

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

Blade
=====

[](#blade)

[![Latest Stable Version](https://camo.githubusercontent.com/e65e01491fb281507cd7d99ca6907d1b945516cce8f7a3423c7119964802ae23/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a656e737365676572732f626c6164652e737667)](https://packagist.org/packages/jenssegers/blade) [![Coverage Status](https://camo.githubusercontent.com/0bd0c1e823833c128c3aec2801085d61c5b2392c3b4c21b299cb21d225d74494/687474703a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6a656e737365676572732f626c6164652e737667)](https://coveralls.io/r/jenssegers/blade)

A maintained fork of jenssegers/blade, the standalone version of [Laravel's Blade templating engine](https://laravel.com/docs/5.8/blade) for use outside of Laravel.

[![](https://camo.githubusercontent.com/c0d74604d702cdf23cc901c756f8ec4b9443f7c8a35cd3fa13f9f266b809d6a0/68747470733a2f2f6a656e737365676572732e636f6d2f7374617469632f6d656469612f626c616465322e706e67)](https://camo.githubusercontent.com/c0d74604d702cdf23cc901c756f8ec4b9443f7c8a35cd3fa13f9f266b809d6a0/68747470733a2f2f6a656e737365676572732e636f6d2f7374617469632f6d656469612f626c616465322e706e67)

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

[](#installation)

Install using composer:

```
composer require rcalicdan/blade
```

Usage
-----

[](#usage)

Create a Blade instance by passing it the folder(s) where your view files are located, and a cache folder. Render a template by calling the `make` method. More information about the Blade templating engine can be found on .

```
use Rcalicdan\Blade\Blade;
use Rcalicdan\Blade\Container as BladeContainer;

$container = new BladeContainer();
$blade = new Blade('views', 'cache', $container);

echo $blade->make('homepage', ['name' => 'John Doe'])->render();
```

Alternatively you can use the shorthand method `render`:

```
echo $blade->render('homepage', ['name' => 'John Doe']);
```

You can also extend Blade using the `directive()` function:

```
$blade->directive('datetime', function ($expression) {
    return "";
});
```

Which allows you to use the following in your blade template:

```
Current date: @datetime($date)

```

The Blade instances passes all methods to the internal view factory. So methods such as `exists`, `file`, `share`, `composer` and `creator` are available as well. Check out the [original documentation](https://laravel.com/docs/5.8/views) for more information.

Integrations
------------

[](#integrations)

- [Phalcon Slayer Framework](https://github.com/phalconslayer/slayer) comes out of the box with Blade.

Credits
-------

[](#credits)

This package is a fork of [jenssegers/blade](https://github.com/jenssegers/blade) which appears to be no longer maintained. This fork includes compatibility fixes for modern PHP environments while maintaining the same functionality.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance48

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

387d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelbladetemplateviewrender

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/rcalicdan-blade/health.svg)

```
[![Health](https://phpackages.com/badges/rcalicdan-blade/health.svg)](https://phpackages.com/packages/rcalicdan-blade)
```

###  Alternatives

[jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of Laravel.

8661.2M109](/packages/jenssegers-blade)[fiskhandlarn/blade

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

365.8k](/packages/fiskhandlarn-blade)[leitsch/kirby-blade

Enable Laravel Blade Template Engine for Kirby 4 and Kirby 5

219.2k](/packages/leitsch-kirby-blade)[johnturingan/laravel-fly-view

Render Blade templates from string mark-up.

163.9k](/packages/johnturingan-laravel-fly-view)

PHPackages © 2026

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