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

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

ank/blade
=========

Use Laravel Blade templates without the full Laravel framework

4.10.3(5y ago)07Apache-2.0PHPPHP ^7.2

Since Jun 26Pushed 5y agoCompare

[ Source](https://github.com/zhaokeli/ank-blade)[ Packagist](https://packagist.org/packages/ank/blade)[ Docs](https://github.com/duncan3dc/blade)[ RSS](/packages/ank-blade/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (4)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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.1% 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 ~12 days

Total

2

Last Release

2096d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laraveltemplatetemplatingviews

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

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

Use Laravel Blade templates without the full Laravel framework

160499.5k24](/packages/duncan3dc-blade)[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)[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.

44643.1k1](/packages/pressbooks-pressbooks)[spatie/laravel-blade-comments

Add debug comments to your rendered output

177325.5k](/packages/spatie-laravel-blade-comments)

PHPackages © 2026

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