PHPackages                             efabrica/latte-syntax-checker - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. efabrica/latte-syntax-checker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

efabrica/latte-syntax-checker
=============================

Compiles latte files and checks syntax of generated php files

0.4.0(4mo ago)11.6k[2 issues](https://github.com/dev-efabrica/latte-syntax-checker/issues)MITPHPPHP &gt;= 7.1.0

Since Mar 7Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/dev-efabrica/latte-syntax-checker)[ Packagist](https://packagist.org/packages/efabrica/latte-syntax-checker)[ RSS](/packages/efabrica-latte-syntax-checker/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (9)Versions (8)Used By (0)

Latte syntax checker
====================

[](#latte-syntax-checker)

This library helps to find erros in latte template files, it can be used in CI tools.

Usage
-----

[](#usage)

`latte-syntax-checker check [-b|--bootstrap BOOTSTRAP] [-c|--compiled-dir COMPILED-DIR] [--] ...`

For more information, run `latte-syntax-checker check check --help`

The result looks like:

```
Errors found: 1

```

With verbose output you will get:

```
Errors found: 1

Error: Unknown macro {unknownmacro} in .../Test/default.latte:4
/var/www/test/app/Presenters/templates/Test/default.latte:4

```

And with very verbose there will be also part of file content with error.

Return code is count of errors found, so you can use it in CI tools.

```
echo $?
1

```

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

[](#installation)

Latte syntax checker requires PHP 7.1.0 or newer. You can install it via Composer. This project is not meant to be run as a dependency, so install it globally:

`composer global require efabrica/latte-syntax-checker`

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance58

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~417 days

Recently: every ~625 days

Total

7

Last Release

120d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25289c62a88df1c404543693ba52e44748dbce486bcfab91fc8c5931a6bb38e1?d=identicon)[dev-efabrica](/maintainers/dev-efabrica)

---

Top Contributors

[![lulco](https://avatars.githubusercontent.com/u/9377319?v=4)](https://github.com/lulco "lulco (10 commits)")[![dev-efabrica](https://avatars.githubusercontent.com/u/12064982?v=4)](https://github.com/dev-efabrica "dev-efabrica (1 commits)")

---

Tags

testsyntaxcilattecompile

### Embed Badge

![Health badge](/badges/efabrica-latte-syntax-checker/health.svg)

```
[![Health](https://phpackages.com/badges/efabrica-latte-syntax-checker/health.svg)](https://phpackages.com/packages/efabrica-latte-syntax-checker)
```

###  Alternatives

[php-coveralls/php-coveralls

PHP client library for Coveralls API

51413.7M3.4k](/packages/php-coveralls-php-coveralls)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[playwright-php/playwright

Modern PHP library for Playwright automation: browsing, scraping, screenshots, testing, and more.

7613.0k5](/packages/playwright-php-playwright)

PHPackages © 2026

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