PHPackages                             reymark/blad - 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. reymark/blad

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

reymark/blad
============

A lightweight Blade-like PHP template engine with caching, directives, and debug support.

v0.0.4.1-patch(6mo ago)010MITPHPPHP &gt;=7.4

Since Nov 1Pushed 6mo agoCompare

[ Source](https://github.com/Mark6286/blad)[ Packagist](https://packagist.org/packages/reymark/blad)[ RSS](/packages/reymark-blad/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

🌀 Blad — Lightweight Blade-like PHP Template Engine
===================================================

[](#-blad--lightweight-blade-like-php-template-engine)

**Blad** is a modern, zero-dependency, Blade-inspired PHP templating engine built for speed and simplicity.
It’s designed for frameworks or standalone PHP projects that need expressive template syntax without Laravel’s overhead.

---

✨ Features
----------

[](#-features)

- ⚡ **Fast file-based compilation cache** (auto-updates on change)
- 🧩 **Blade-like syntax**: `@extends`, `@section`, `@yield`, `@if`, `@foreach`, etc.
- 🪄 **Custom directives** — extend your template language easily
- 🌍 **Global variables** shared across views
- 🔐 **@csrf**, **@json**, **@css**, **@js** helpers
- 🧠 **Debug mode &amp; error logging**
- ⚙️ **Configurable view path, cache path, and file extension**
- 🪶 **No external dependencies** — pure PHP ≥7.4

---

📦 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require reymark/blad
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance66

Regular maintenance activity

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 84.6% 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

7

Last Release

197d ago

### Community

Maintainers

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

---

Top Contributors

[![rmsbal](https://avatars.githubusercontent.com/u/264789888?v=4)](https://github.com/rmsbal "rmsbal (11 commits)")[![Mark6286](https://avatars.githubusercontent.com/u/116934125?v=4)](https://github.com/Mark6286 "Mark6286 (2 commits)")

---

Tags

phpbladetemplateviewcompilerengine

### Embed Badge

![Health badge](/badges/reymark-blad/health.svg)

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

###  Alternatives

[eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

8208.4M87](/packages/eftec-bladeone)[eftec/bladeonehtml

The standalone version Blade Template Engine from Laravel in a single php file

1018.1k5](/packages/eftec-bladeonehtml)

PHPackages © 2026

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