PHPackages                             nepada/texy-nette - 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. nepada/texy-nette

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

nepada/texy-nette
=================

Texy integration for Nette.

v5.2.1(2mo ago)522.9k↑41.7%1BSD-3-ClausePHPPHP &gt;=8.1.0 &lt;8.6CI passing

Since Aug 23Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/nepada/texy-nette)[ Packagist](https://packagist.org/packages/nepada/texy-nette)[ RSS](/packages/nepada-texy-nette/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (34)Versions (35)Used By (0)

Texy integration for Nette
==========================

[](#texy-integration-for-nette)

[![Build Status](https://github.com/nepada/texy-nette/workflows/CI/badge.svg)](https://github.com/nepada/texy-nette/actions?query=workflow%3ACI+branch%3Amaster)[![Coverage Status](https://camo.githubusercontent.com/b827a6ebe3d3d528cb016031991933043308a831b6dd129620611f388b6ade5f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6e65706164612f746578792d6e657474652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/nepada/texy-nette?branch=master)[![Downloads this Month](https://camo.githubusercontent.com/beb81da99b65fb7476365ab2f420505886d500c1e18dcfeb5f7016417a40b2e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e65706164612f746578792d6e657474652e737667)](https://packagist.org/packages/nepada/texy-nette)[![Latest stable](https://camo.githubusercontent.com/20383a495758427ec4022826364c475d5f27977ff8a889545bd5bdd4237240bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e65706164612f746578792d6e657474652e737667)](https://packagist.org/packages/nepada/texy-nette)

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

[](#installation)

Via Composer:

```
$ composer require nepada/texy-nette
```

Register the extension in `config.neon`:

```
extensions:
    texy: Nepada\Bridges\TexyDI\TexyExtension
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

This extension contains simple Texy factory that only creates new instance of `Texy\Texy`.

Usually you will want to define your own factory by implementing `Nepada\Texy\TexyFactory`, often more than one.

```
texy:
    factories:
        foo: @fooTexyFactory
        bar: @barTexyFactory

    defaultMode: foo
```

This example adds two custom factories. Note the names `foo` and `bar` - we call these Texy "modes". In different parts of your application you might need to use different mode (i.e. differently configured instance of Texy).

### In templates

[](#in-templates)

There are 2 new tags for processing blocks and single lines, both with possibility to specify a custom mode:

```
{texy fooMode}
    - one
    - two
{/texy}

    {texyLine barMode}Whatever...{/texyLine}

```

Alternatively, you can use one of 3 filters to achieve similar result:

- `|texy:customMode` calls `$texyMultiplier->processBlock()`
- `|texyLine:customMode` calls `$texyMultiplier->processLine()`
- `|texyTypo:customMode` calls `$texyMultiplier->processTypo()`

### In presenters and other controls

[](#in-presenters-and-other-controls)

The preferred way is to inject `Nepada\Texy\TexyMultiplier` instance wherever you need it, and either use it directly or pull out desired Texy instance, e.g:

```
$multiplier->processBlock($text, 'myMode');
$texy = $multiplier->getTexy('myMode');
```

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance88

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity92

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 62.8% 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 ~120 days

Recently: every ~279 days

Total

30

Last Release

80d ago

Major Versions

v1.0.4 → v2.0.02017-07-29

v2.0.2 → v3.0.02018-07-06

v3.6.0 → v4.0.02020-04-04

v4.3.0 → v5.0.0-RC12022-07-31

PHP version history (9 changes)v1.0.1PHP &gt;= 5.6.0

v2.0.0PHP &gt;=7.1.0

v3.4.0PHP &gt;=7.2.0

v3.5.0PHP &gt;=7.4.0

v4.3.0PHP &gt;=8.0.0 &lt;8.2

v5.0.1PHP &gt;=8.0.0 &lt;8.3

v5.1.0PHP &gt;=8.1.0 &lt;8.4

v5.1.1PHP &gt;=8.1.0 &lt;8.5

v5.2.0PHP &gt;=8.1.0 &lt;8.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b4780fe328102c4572737db639653c29d3081d1d3e051467f00d7f09a776399?d=identicon)[xificurk](/maintainers/xificurk)

---

Top Contributors

[![xificurk](https://avatars.githubusercontent.com/u/117465?v=4)](https://github.com/xificurk "xificurk (240 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (142 commits)")

---

Tags

nettelattetexy

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nepada-texy-nette/health.svg)

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

###  Alternatives

[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)[contributte/latte

Extra contrib to nette/latte

111.5M2](/packages/contributte-latte)[nextras/forms-rendering

Rendering helpers for Nette Framework Forms.

1698.4k2](/packages/nextras-forms-rendering)

PHPackages © 2026

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