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

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

motian/blade
============

Use Laravel Blade templates without the full Laravel framework

5.0.0(6y ago)019Apache-2.0PHPPHP ^7.2

Since Sep 28Pushed 6y agoCompare

[ Source](https://github.com/motian/blade)[ Packagist](https://packagist.org/packages/motian/blade)[ Docs](https://github.com/duncan3dc/blade)[ RSS](/packages/motian-blade/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (12)Versions (30)Used By (0)

blade
=====

[](#blade)

Use Laravel Blade templates as a standalone component without the full Laravel framework

Full documentation is available at
PHPDoc API documentation is also available at [http://duncan3dc.github.io/blade/api/](http://duncan3dc.github.io/blade/api/namespaces/duncan3dc.Laravel.html)

[![release](https://camo.githubusercontent.com/bc36b7453a7f9b84bdd93aa4738084e80a6a7f9ab5346d41afbc89d9d883f7fe/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e3364632f626c6164652f76657273696f6e2e737667)](https://packagist.org/packages/duncan3dc/blade)[![build](https://camo.githubusercontent.com/0cc2ce1bfc366b84b7447ad5d94c0ab4c701121c7e715e08509eea8f16bf987b/68747470733a2f2f7472617669732d63692e6f72672f64756e63616e3364632f626c6164652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/duncan3dc/blade)[![coverage](https://camo.githubusercontent.com/77b1856f5eda33d2f7515a8c7b9274eacd2a1be08e6f4e10b06b755e2bb15068/68747470733a2f2f636f6465636f762e696f2f67682f64756e63616e3364632f626c6164652f67726170682f62616467652e737667)](https://codecov.io/gh/duncan3dc/blade)

Quick Examples
--------------

[](#quick-examples)

Output the view from `/var/www/views/index.blade.php`:

```
use duncan3dc\Laravel\BladeInstance;

$blade = new BladeInstance("/var/www/views", "/var/www/cache/views");

echo $blade->render("index");
```

There is also a static class available:

```
use duncan3dc\Laravel\Blade;

echo Blade::render("index");
```

*Read more at *

Changelog
---------

[](#changelog)

A [Changelog](CHANGELOG.md) has been available since version 2.0.0

Where to get help
-----------------

[](#where-to-get-help)

Found a bug? Got a question? Just not sure how something works?
Please [create an issue](//github.com/duncan3dc/blade/issues) and I'll do my best to help out.
Alternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)

duncan3dc/blade for enterprise
------------------------------

[](#duncan3dcblade-for-enterprise)

Available as part of the Tidelift Subscription

The maintainers of duncan3dc/blade and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-duncan3dc-blade?utm_source=packagist-duncan3dc-blade&utm_medium=referral&utm_campaign=readme)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 96.7% 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 ~77 days

Recently: every ~113 days

Total

28

Last Release

2201d ago

Major Versions

1.1.3 → 2.0.02015-02-04

2.2.1 → 3.0.02015-12-27

3.4.0 → 4.0.02017-08-30

4.8.0 → 5.0.02020-06-22

PHP version history (7 changes)1.0.0PHP &gt;=5.4.0

2.2.0PHP &gt;=5.5.0

3.0.0PHP &gt;=5.6.0

3.4.0PHP ^5.6|^7.0

4.0.0PHP ^7.0

4.2.0PHP ^7.1

4.7.0PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/437435ba16dc990f9d7212f6af3aed7c3d8b8f760b17a77f7a7dbb246cf8d679?d=identicon)[motian](/maintainers/motian)

---

Top Contributors

[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (147 commits)")[![motian](https://avatars.githubusercontent.com/u/2382215?v=4)](https://github.com/motian "motian (2 commits)")[![GeoSot](https://avatars.githubusercontent.com/u/22406063?v=4)](https://github.com/GeoSot "GeoSot (1 commits)")[![jawngee](https://avatars.githubusercontent.com/u/44449?v=4)](https://github.com/jawngee "jawngee (1 commits)")[![marcwiest](https://avatars.githubusercontent.com/u/815624?v=4)](https://github.com/marcwiest "marcwiest (1 commits)")

---

Tags

laraveltemplatetemplatingviews

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

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

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M129](/packages/roots-acorn)[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)[duncan3dc/blade

Use Laravel Blade templates without the full Laravel framework

160507.4k26](/packages/duncan3dc-blade)

PHPackages © 2026

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