reymark/blad
最新稳定版本:v0.0.4.1-patch
Composer 安装命令:
composer require reymark/blad
包简介
A lightweight Blade-like PHP template engine with caching, directives, and debug support.
README 文档
README
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
- ⚡ 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 & error logging
- ⚙️ Configurable view path, cache path, and file extension
- 🪶 No external dependencies — pure PHP ≥7.4
📦 Installation
Install via Composer:
composer require reymark/blad
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-01