PHPackages                             gosukiwi/katar - 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. gosukiwi/katar

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

gosukiwi/katar
==============

Beautiful and flexible template engine for PHP

0.4.0(11y ago)139021MITPHPPHP &gt;=5.3.0

Since Feb 16Pushed 11y ago1 watchersCompare

[ Source](https://github.com/gosukiwi/katar)[ Packagist](https://packagist.org/packages/gosukiwi/katar)[ Docs](https://github.com/gosukiwi/katar)[ RSS](/packages/gosukiwi-katar/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (1)

Katar
=====

[](#katar)

Katar is a tiny PHP templating engine based on Blade. It was designed to be simple and clean.

Katar is easy to include into any existing project, just require it with composer! It even has a Silex service provider if you are interested.

For more information see the documentation.

Syntax at a glance
------------------

[](#syntax-at-a-glance)

```
@if $age > 22
    The age is bigger than 22
@else
    The age is not bigger than 22
@endif

@for $person in $people
    Person #{{ $for_index + 1 }}: {{ $person->name }}
@endfor

My name is {{ $name | strtoupper }}

@import 'myFile.katar.html'

{>
    @this is escaped code, everything inside the escape tags won't get
    processed by Katar.
 Given a version number MAJOR.MINOR.PATCH, increment the:
>
> MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards-compatible manner, and PATCH version when you make backwards-compatible bug fixes.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~47 days

Total

3

Last Release

4370d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/045612b9b1a8f8df61eb87b367020b1ee336a14da82f1665ce68b0cf08fdfa95?d=identicon)[gosukiwi](/maintainers/gosukiwi)

---

Top Contributors

[![gosukiwi](https://avatars.githubusercontent.com/u/161972?v=4)](https://github.com/gosukiwi "gosukiwi (72 commits)")

---

Tags

phptemplatetemplate enginekatar

### Embed Badge

![Health badge](/badges/gosukiwi-katar/health.svg)

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

###  Alternatives

[talesoft/tale-pug

A clean, lightweight and easy-to-use templating engine for PHP based on Pug, formerly Jade

319.4k3](/packages/talesoft-tale-pug)

PHPackages © 2026

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