PHPackages                             zenify/title-component - 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. zenify/title-component

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

zenify/title-component
======================

Title component for Nette

5.0.3(7y ago)310.4k3MITPHPPHP &gt;=5.5

Since Mar 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/deprecated-packages/TitleComponent)[ Packagist](https://packagist.org/packages/zenify/title-component)[ RSS](/packages/zenify-title-component/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (4)Versions (19)Used By (0)

Title Component
===============

[](#title-component)

[![Build Status](https://camo.githubusercontent.com/48ac9cc5c4d5f23948c6ecdefe332a940bae25b4076db19ab89b1195da1ce1fa/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f5a656e6966792f5469746c65436f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Zenify/TitleComponent)[![Quality Score](https://camo.githubusercontent.com/90221a02d3f658bd2d7e5df510226c8105d14254b7735cd8de64a2dc02756fdc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f5a656e6966792f5469746c65436f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Zenify/TitleComponent)[![Code Coverage](https://camo.githubusercontent.com/e075a1140ef2aeec12715f7fe19333663a926a68d3bb2d81de970b6429eb3539/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f5a656e6966792f5469746c65436f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Zenify/TitleComponent)[![Downloads this Month](https://camo.githubusercontent.com/71964f38726cae328f5776a62c4115f984ab3e0aaf446b9c24cf643878b8f89a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7a656e6966792f7469746c652d636f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zenify/title-component)[![Latest stable](https://camo.githubusercontent.com/40333e653bc3120d26aec8a40509432546eca967988224f62cde4ba93eaca2ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a656e6966792f7469746c652d636f6d706f6e656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zenify/title-component)

Install
-------

[](#install)

Via Composer:

```
$ composer require zenify/title-component
```

Register extension in `config.neon`:

```
extensions:
	- Zenify\TitleComponent\DI\TitleExtension
```

Usage
-----

[](#usage)

Inject to presenter

```
class Presenter ...
{

	/**
	 * @inject
	 * @var Zenify\TitleComponent\TitleControlFactory
	 */
	public $titleControlFactory;

	/**
	 * @return Zenify\TitleComponent\TitleControl
	 */
	protected function createComponentTitle()
	{
		return $this->titleControlFactory->create();
	}

}
```

Render in template

```

	...
	{control title}

```

### Add title

[](#add-title)

Via annotation

```
class HomepagePresenter ...
{

	/**
	 * @title Contact us
	 */
	public function renderContact()
	{
	}

}
```

Or via method

```
class ProductPresenter ...
{

	public function startup()
   	{
   	    // set main title for whole app
   		$this['title']->set('Zenify');
		parent::startup();
   	}

	/**
	 * @param int
	 */
	public function renderDetail($id)
	{
		$product = ...($id);
		$this['title']->append('Detail of ' . $product->name);

		// change separator if you like
		$this['title']->setSeparator(' - ');
	}

}
```

This will result in:

```
Zenify - Detail of product ...

```

### Translator supported

[](#translator-supported)

```
class HomepagePresenter ...
{

	/**
	 * @title homepage.contact.title
	 */
	public function renderContact()
	{
	}

	/**
	 * @param string
	 */
	public function renderDetail($name)
	{
		$this['title']->set(['user.detail.name', NULL, ['name' => $name]]);
	}

}
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~102 days

Recently: every ~377 days

Total

18

Last Release

2684d ago

Major Versions

v0.0.3 → v1.0.02014-04-05

v1.2.0 → v2.0.02014-08-24

v2.1.0 → v3.0.02014-10-02

v3.0.0 → v4.0.02014-11-22

v4.0.0 → v5.0.02014-12-16

PHP version history (2 changes)v0.0.1PHP &gt;=5.4

v5.0.0PHP &gt;=5.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

![](https://www.gravatar.com/avatar/ac6d98091d07a41ebf65cf8496d73e14297ada4031f998d68a2ab30e6ef8a883?d=identicon)[enumag](/maintainers/enumag)

---

Top Contributors

[![rikiless](https://avatars.githubusercontent.com/u/589851?v=4)](https://github.com/rikiless "rikiless (6 commits)")[![TomasPilar](https://avatars.githubusercontent.com/u/8326937?v=4)](https://github.com/TomasPilar "TomasPilar (2 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (1 commits)")

### Embed Badge

![Health badge](/badges/zenify-title-component/health.svg)

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

###  Alternatives

[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)

PHPackages © 2026

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