PHPackages                             jeyroik/df-templates - 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. jeyroik/df-templates

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

jeyroik/df-templates
====================

Templates fot DF

0.1.1(2y ago)04923PHP

Since Aug 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jeyroik/df-templates)[ Packagist](https://packagist.org/packages/jeyroik/df-templates)[ RSS](/packages/jeyroik-df-templates/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (3)

[![tests](https://github.com/jeyroik/df-templates/workflows/PHP%20Composer/badge.svg?branch=master&event=push)](https://github.com/jeyroik/df-templates/workflows/PHP%20Composer/badge.svg?branch=master&event=push)[![codecov.io](https://camo.githubusercontent.com/654ad1b504782c84b6044cc225c6154152740fc79035622a85958cc487328e1a/68747470733a2f2f636f6465636f762e696f2f67682f6a6579726f696b2f64662d74656d706c617465732f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/654ad1b504782c84b6044cc225c6154152740fc79035622a85958cc487328e1a/68747470733a2f2f636f6465636f762e696f2f67682f6a6579726f696b2f64662d74656d706c617465732f636f7665726167652e7376673f6272616e63683d6d6173746572)[![](https://camo.githubusercontent.com/7f70efbdc9f585fc129f2626ca388a6e731699c297c0e26b3ae6300fcd0ec663/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65613636353932353165643861653136316130352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/jeyroik/df-templates/maintainability)[![Latest Stable Version](https://camo.githubusercontent.com/1c61a7242f089ca1ba825fa967a8ef649a67abd77fa411242aa64fad6f6be6b7/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f64662d74656d706c617465732f76)](//packagist.org/packages/jeyroik/df-templates)[![Total Downloads](https://camo.githubusercontent.com/d85c1ff72893655acdda68bb2337b168abc48bd1ce810fd8e0e48720200207ad/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f64662d74656d706c617465732f646f776e6c6f616473)](//packagist.org/packages/jeyroik/df-templates)[![Dependents](https://camo.githubusercontent.com/43eb3513ec86a7c6f95cb2490a62a40c88417a5ca8321d714e5d3ba07b459757/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f64662d74656d706c617465732f646570656e64656e7473)](//packagist.org/packages/jeyroik/df-templates)

df-templates
============

[](#df-templates)

Templates for DF

Provide interfaces and helper classes for templating anything for applications and it's parameters.

usage
=====

[](#usage)

Templating consists of two stages:

- Preparing data for template.
- Making template.

The library provides several tools to help you with these tasks:

- `IWithTemplate` entity.
    - Supports application name for filtering templates.
    - Supports params names for filtering.
- `with_templates` storage.
- `ITemplateService` for getting templates.
- `IContext` helps clarify the current context and desired results.
- Stages for making templates based on the context.

So to get started with templating using `df-templates`, you will need:

- `IWithTemplate` entity.
- A dispatcher for preparing data for the template.
- A plugin for making the template.

For more detailed usage instructions, please see the tests provided with the library.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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 ~9 days

Total

3

Last Release

1044d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aaec5c4bade6ab2b5d1a0f7d97ab4e0ff2ce83937f76499b2888ad16cde5e04?d=identicon)[jeyroik](/maintainers/jeyroik)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeyroik-df-templates/health.svg)

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.1k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.3k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

282.2k](/packages/webkinder-sproutset)

PHPackages © 2026

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