PHPackages                             mfcc/title-manager - 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. mfcc/title-manager

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

mfcc/title-manager
==================

Management of page title and og:meta informations through config file

02011PHP

Since Jun 30Pushed 10y ago2 watchersCompare

[ Source](https://github.com/jonsource/mfcc-titlemanager)[ Packagist](https://packagist.org/packages/mfcc/title-manager)[ RSS](/packages/mfcc-title-manager/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Total Downloads](https://camo.githubusercontent.com/4b301304d4e3f01774df4971f8fa206d3386b893cc65b87c498c5830baffc1fe/68747470733a2f2f706f7365722e707567782e6f72672f6d6663632f7469746c652d6d616e616765722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/mfcc/title-manager)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#)

MfccTitleManager
----------------

[](#mfcctitlemanager)

Provides control over page title/og:meta information from route

Install:
--------

[](#install)

The suggested installation method is via [composer](http://getcomposer.org/):

```
php composer.phar require mfcc/title-manager:dev-master
```

Usage:
------

[](#usage)

1. Enable MfccTitlemanager module in your application.config.php file.

```
'modules' => array(
    	...,
    	...,
    	...,
    	'MfccTitleManager',
    	...,
    	'Application',
    ),
```

3. Set options in your base module.config.php

```
'MfccTitleManager' => array(
    		'defaultTitle' => 'Ladíme v praxi | Pardál',
    		'baseTitle' => 'Ladíme v praxi',
    		'defaultDescription' => 'Začni s Pardálem ladit pivní vychytávky! Uděláš něco záslužného pro hospodské lidstvo a ještě můžeš vyhrát pivo a další ceny od Pardála.',
    		'defaultImages' => array( 'img/fb/ladime-v-praxi-fb-share-01.jpg',
									'img/fb/ladime-v-praxi-fb-share-02.jpg',
									'img/fb/ladime-v-praxi-fb-share-03.jpg',
									'img/fb/ladime-v-praxi-fb-share-04.jpg',
									'img/fb/ladime-v-praxi-fb-share-05.jpg',
									'img/fb/ladime-v-praxi-fb-share-06.jpg')
    )
```

3. Options available in base module.config.php:

```
defaultTitle /* title to show on pages where no title is given */
baseTitle /* base part of component title, i.e. "mfcc page" */
titleSeparator /* string to separate BaseTitle and SubTitle */
titlePrepend /* display BaseTitle TitleSeparator SubTitle when true and SubTitle TitleSeparator BaseTitle when false, defaults to false */
defaultDescription /* default page description */
defaultImages => (array(string)) /* array of paths or urls to default images */
defaultImage => (string) /* single path or url to default image */
```

2. Set information in your route. i.e:

```
  'gallery' => array(
            		'type'    => 'Literal',
            		'options' => array(
            				'route'    => '/galerie-ladeni',
            				'defaults' => array(
            						'__NAMESPACE__' => 'Application\Controller',
            						'controller'    => 'Gallery',
            						'action'        => 'index',
            				),
            		),

   /* MfccTitleManager entry */

	           		'title_manager' => array(
            			'sub_title'=>'Sub Title­',
            			'description'=>'Fancy description of given page.',
            			'images'=> array('img/fb/fb-promo-image.jpg'),
            		),
```

3. Options available in config:

```
title => Complete title of page
sub_title => prepend or append to set base title
description => description of current page
images => images for current page
none => don't use title_manager for this page (probably will be set manually in controller)
```

4. shortcuts for manual setting of page info:

```
  $tm = $this->serviceManager('titleManager');
  $tm->titleManager->setTitle();

  .. or ..

  setSubTitle(); /* create title by prepending or appending to base title */
  setImages(array);
  setDescription;
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cb1840b1ec74156b1afc1f7b0cd93e992cce359e352ca139d394ee4dc5f71f0?d=identicon)[Jan Sourek](/maintainers/Jan%20Sourek)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mfcc-title-manager/health.svg)

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

PHPackages © 2026

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