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

ActiveLibrary

materia/materia
===============

Materia

v1.0.0(10y ago)11.1kPHP

Since May 30Pushed 10y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Materia
=======

[](#materia)

Materia is a code-based user interface library for PHP.

In many web applications, the norm is to use HTML templates (Twig, Smarty, etc) for views.

This project is eliminating templates in favor of code constructing the views. This will allow you to work with the UI from your code, giving you much more control over how you'll be structuring your code. It makes it much easier to change navigation and overall layouts later in the project.

Take a look at the `example/` directory to see how it's used.

Trying the example:
-------------------

[](#trying-the-example)

```
git clone git@github.com:materia/materia.git
cd materia
composer install
bower install
php -S 0.0.0.0:8080 example/example1.php

```

Open `http://localhost:8080` in your browser.

Work In Progress
----------------

[](#work-in-progress)

WARNING: This project is a work in progress. Class/Method/Parameter names may/will change.

Contributions welcome!

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3677d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1db66b320db18b8036ea68211b7d8a39e7c6da97e6fd29f59a50380ebb69d0bb?d=identicon)[joostfaassen](/maintainers/joostfaassen)

---

Top Contributors

[![joostfaassen](https://avatars.githubusercontent.com/u/411113?v=4)](https://github.com/joostfaassen "joostfaassen (3 commits)")

---

Tags

materia

### Embed Badge

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

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

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.3M1](/packages/fastly-magento2)[proai/laravel-handlebars

A Laravel wrapper for LightnCandy for using the Handlebars (and Mustache) template engine.

38206.9k](/packages/proai-laravel-handlebars)

PHPackages © 2026

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