PHPackages                             dek-cz/title-control - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dek-cz/title-control

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dek-cz/title-control
====================

Nette control for managing title in HTML header.

1.1.1(5y ago)07.2k↓50%BSD-3-ClausePHPPHP &gt;=7.4.0

Since Jan 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dek-cz/title-control)[ Packagist](https://packagist.org/packages/dek-cz/title-control)[ RSS](/packages/dek-cz-title-control/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (10)Versions (6)Used By (0)

Title Control
=============

[](#title-control)

[![Build Status](https://github.com/dek-cz/title-control/workflows/CI/badge.svg)](https://github.com/dek-cz/title-control/actions?query=workflow%3ACI+branch%3Amain)[![Downloads this Month](https://camo.githubusercontent.com/62e09088bcad88609eae4f808d85021d8083855eb4170f6d528e144b09af3f73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f64656b2d637a2f7469746c652d636f6e74726f6c2e737667)](https://packagist.org/packages/dek-cz/title-control)[![Latest stable](https://camo.githubusercontent.com/f9744837443614acda85e5c4586e0fb33b932f240961711f824efceae3b112d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656b2d637a2f7469746c652d636f6e74726f6c2e737667)](https://packagist.org/packages/dek-cz/title-control)[![Coverage Status](https://camo.githubusercontent.com/8fc5af43b18602fe4ee7b28d4eb48f256d49ea631db3906da89f2c113860b0e4/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f64656b2d637a2f7469746c652d636f6e74726f6c2f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/dek-cz/title-control?branch=main)

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

[](#installation)

Via Composer:

```
$ composer require dek-cz/title-control
```

Usage
-----

[](#usage)

First register the control factory in your config:

```
services:
    -
        implement: Dekcz\TitleControl\ITitleControlFactory
```

Use the control factory in your presenter:

```
protected function createComponentTitle(): Dekcz\TitleControl\TitleControl
{
    $control = $this->titleControlFactory->create();
    $control->setTitle('My title');
    return $control;
}
```

And render it in your Latte template:

```

    {control title}

    ...

```

We can also use multi title with a separator. Default separator is: ' | '

```
    $control->addItem('One')->addItem('Two'); // 'One | Two'
```

Change the separator:

```
    $control->setSeparator(' ~ ');
```

We can also use nette translator

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% 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 ~12 days

Total

5

Last Release

1900d ago

Major Versions

0.0.1 → 1.0.02021-01-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ed8fb273071533a2b9043191eb39185c13d5fafa84a6ac09fb891c422f496c2?d=identicon)[dek-cz](/maintainers/dek-cz)

---

Top Contributors

[![vrestihnat](https://avatars.githubusercontent.com/u/10158847?v=4)](https://github.com/vrestihnat "vrestihnat (24 commits)")[![janzarubadek](https://avatars.githubusercontent.com/u/79913795?v=4)](https://github.com/janzarubadek "janzarubadek (9 commits)")

---

Tags

netteheadercomponenttitle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dek-cz-title-control/health.svg)

```
[![Health](https://phpackages.com/badges/dek-cz-title-control/health.svg)](https://phpackages.com/packages/dek-cz-title-control)
```

###  Alternatives

[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.3k64.2M576](/packages/nette-php-generator)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[carrooi/nette-menu

Menu control for Nette framework

2950.0k1](/packages/carrooi-nette-menu)[uestla/twigrid

Experimental DataGrid for Nette Framework

1712.3k2](/packages/uestla-twigrid)

PHPackages © 2026

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