PHPackages                             jaypha/jayponents-latte - 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. jaypha/jayponents-latte

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

jaypha/jayponents-latte
=======================

Latte adaptor for Jayponents

v0.1.2(6y ago)058BSL-1.0PHPPHP ^5.4 || ^7CI failing

Since Jan 30Pushed 6y agoCompare

[ Source](https://github.com/jaypha/jayponents-latte)[ Packagist](https://packagist.org/packages/jaypha/jayponents-latte)[ RSS](/packages/jaypha-jayponents-latte/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (4)Used By (0)

Jayponents Latte
================

[](#jayponents-latte)

Written by Jason den Dulk

A template engine adaptor to enable Jayponents to be used with Latte Templates.

Requirements
------------

[](#requirements)

PHP v5.4.0 or greater. Jayponents Nette Latte

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

[](#installation)

```
composer require jaypha/jayponents-latte

```

Usage
-----

[](#usage)

Create a Latte Engine as normal. Create an engine adaptor and set the template adaptor in Component.

### Examples

[](#examples)

```
use Jaypha\Jayponents\Component;
use Jaypha\Jayponents\Latte\LatteEngineAdaptor;

$latte = new Latte\Engine();
$adaptor = new LatteEngineAdaptor($latte);

// Can make the template adaptor the default for all components.
Component::setDefaultEngine($adaptor);

// Can assign template adaptor to individual components.
$component = new Component();
$component->setEngine($adaptor);

```

jayp Macro
----------

[](#jayp-macro)

Within a Latte template, you include a component using 'jayp'. It will call the 'display' method of the object, or do nothing if it is null.

### Example

[](#example)

```
{jayp $content}

```

License
-------

[](#license)

Copyright (C) 2017-9 Jaypha.
Distributed under the Boost Software License, Version 1.0.
See [http://www.boost.org/LICENSE\_1\_0.txt](http://www.boost.org/LICENSE_1_0.txt)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

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

Every ~148 days

Total

3

Last Release

2364d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ca39c239f426fd20c6348188dc7cf2b2ff3783ebb5d44bd886572a8ec53b24f?d=identicon)[jaypha](/maintainers/jaypha)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jaypha-jayponents-latte/health.svg)

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

###  Alternatives

[contributte/latte

Extra contrib to nette/latte

111.5M2](/packages/contributte-latte)[nepada/form-renderer

Latte template based form renderer for Nette forms with full support for Bootstrap 3, 4 &amp; 5.

11251.0k](/packages/nepada-form-renderer)[nextras/forms-rendering

Rendering helpers for Nette Framework Forms.

1698.4k2](/packages/nextras-forms-rendering)[webrouse/n-asset-macro

Asset macro for Latte and Nette Framework useful for assets cache busting (with gulp, webpack, etc.)

1264.4k1](/packages/webrouse-n-asset-macro)

PHPackages © 2026

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