PHPackages                             syncroze/ldt-lang - 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. syncroze/ldt-lang

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

syncroze/ldt-lang
=================

ldt-lang — Logic Driven Text Language, an embeddable templating language (.ldt files), interpreted in PHP.

v1.0.0(1mo ago)02MITPHP &gt;=8.1

Since Jul 6Compare

[ Source](https://github.com/syncroze/ldt-lang)[ Packagist](https://packagist.org/packages/syncroze/ldt-lang)[ Docs](https://syncroze.github.io/ldt-lang/)[ RSS](/packages/syncroze-ldt-lang/feed)WikiDiscussions Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

ldt-lang
========

[](#ldt-lang)

**Logic Driven Text Language** — an embeddable templating language interpreted in PHP. Like PHP, it is written *inside* arbitrary text: everything is literal until a bracket construct appears. Files use the `.ldt` extension.

The engine is a four-stage `Lexer → Trimmer → Parser → Interpreter` pipeline with a bracket-tag surface syntax and a **nested** data model.

**Full documentation, syntax reference, and caveats: [ldt-lang.syncroze.com](https://ldt-lang.syncroze.com/)**

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

[](#installation)

```
composer require syncroze/ldt-lang
```

[syncroze/ldt-lang on Packagist](https://packagist.org/packages/syncroze/ldt-lang)

```
require 'vendor/autoload.php';
use Ldtlang\Ldt;

echo Ldt::render('Hello [set who = world][= @who]!');
```

The bundled CLI is available at `vendor/bin/ldt`:

```
vendor/bin/ldt template.ldt --set who=world
```

No Composer? The engine also runs with plain PHP — see `autoload.php` in the repository and the [docs site](https://ldt-lang.syncroze.com/) for the dependency-free setup.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

48d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1025042f21b613f7f5acfa7837e51aa9f4918f92bd3e4b38b472e01cb28a5616?d=identicon)[syncroze](/maintainers/syncroze)

### Embed Badge

![Health badge](/badges/syncroze-ldt-lang/health.svg)

```
[![Health](https://phpackages.com/badges/syncroze-ldt-lang/health.svg)](https://phpackages.com/packages/syncroze-ldt-lang)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3841.2M](/packages/limenius-react-bundle)[pdewit/nova-external-url

An external URL Laravel Nova field.

30383.2k](/packages/pdewit-nova-external-url)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)[localgovdrupal/localgov_base

The base theme for LocalGov Drupal websites.

13126.9k5](/packages/localgovdrupal-localgov-base)

PHPackages © 2026

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