PHPackages                             sade/sade - 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. sade/sade

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

sade/sade
=========

Create PHP components

v1.0.0-alpha(7y ago)133MITPHP

Since Dec 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sadephp/sade)[ Packagist](https://packagist.org/packages/sade/sade)[ RSS](/packages/sade-sade/feed)WikiDiscussions master Synced 3w ago

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

Sade
====

[](#sade)

[![Build Status](https://camo.githubusercontent.com/64c57d0f955e7dca09bce0c4a1a0a6abaaa1f4232f4e3cd7143a65d69504e480/68747470733a2f2f7472617669732d63692e6f72672f736164657068702f736164652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sadephp/sade)

> Work in progress!

Sade, a library for creating PHP Components with [Twig](https://twig.symfony.com/doc/2.x/) (2.x). This package will not do any preprocessing or somthing like that.

Documentation
-------------

[](#documentation)

The documentation is located [here](https://sadephp.github.io)

Example
-------

[](#example)

```

    {{ greeting }} World!

    p {
        font-size: 2em;
        text-align: center;
    }

```

To render

```
$sade = new \Sade\Sade(__DIR__ . '/examples');

echo $sade->render('greeting.php');
```

License
-------

[](#license)

MIT © [Fredrik Forsmo](https://github.com/frozzare)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

2742d ago

### Community

Maintainers

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

---

Top Contributors

[![frozzare](https://avatars.githubusercontent.com/u/14610?v=4)](https://github.com/frozzare "frozzare (153 commits)")

---

Tags

componentsphpphp-componentsingle-filetwigphptwigcomponents

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[symfony/ux-twig-component

Twig components for Symfony

21917.2M304](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1636.5M113](/packages/symfony-ux-live-component)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1682.8k1](/packages/symfony-ux-toolkit)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

261.9k](/packages/mati365-ckeditor5-symfony)

PHPackages © 2026

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