PHPackages                             kinglozzer/metatitle - 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. kinglozzer/metatitle

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

kinglozzer/metatitle
====================

Re-adds the 'MetaTitle' field for SilverStripe 4

4.0.1(3mo ago)17228.8k↓18.5%6[1 issues](https://github.com/lozcalver/silverstripe-metatitle/issues)10BSD-3-ClausePHPPHP ^8.1

Since Feb 14Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/lozcalver/silverstripe-metatitle)[ Packagist](https://packagist.org/packages/kinglozzer/metatitle)[ Docs](https://github.com/kinglozzer/silverstripe-metatitle)[ RSS](/packages/kinglozzer-metatitle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (17)Used By (10)

MetaTitle
=========

[](#metatitle)

[![Build Status](https://camo.githubusercontent.com/f6491759ff9efb576b1f768b0a0189cb1b59a5448b0002578d17d6de94f47009/68747470733a2f2f6170692e7472617669732d63692e6f72672f6b696e676c6f7a7a65722f73696c7665727374726970652d6d6574617469746c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kinglozzer/silverstripe-metatitle) [![Latest Stable Version](https://camo.githubusercontent.com/0d9b1fce03a5764fad7a97a1fcc44853da7e08401d0497f5e992ca6e4d1fa104/68747470733a2f2f706f7365722e707567782e6f72672f6b696e676c6f7a7a65722f6d6574617469746c652f76657273696f6e2e737667)](https://packagist.org/packages/kinglozzer/metatitle) [![Total Downloads](https://camo.githubusercontent.com/8fa46c18d073cba5de68d40c16ce3df947e3b6a5b2bf8d55c5dc28002f41f60f/68747470733a2f2f706f7365722e707567782e6f72672f6b696e676c6f7a7a65722f6d6574617469746c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/kinglozzer/metatitle) [![License](https://camo.githubusercontent.com/36583dc3bdfbb08a17ecba4fc5a9e765660beacff914a04e8235f39738846577/68747470733a2f2f706f7365722e707567782e6f72672f6b696e676c6f7a7a65722f6d6574617469746c652f6c6963656e73652e737667)](https://packagist.org/packages/kinglozzer/metatitle)

Re-adds the “Meta Title” field that was removed in SilverStripe 3.1.

By: Loz Calver - [Bigfork Ltd](http://www.bigfork.co.uk/).

Contributing:
-------------

[](#contributing)

Translations were pulled from SilverStripe CMS v3.0.2 (before the `SiteTree.METATITLE` entity was removed). Pull requests are welcome for improving those translations and adding `SiteTree.METATITLEHELP` translations.

Requirements:
-------------

[](#requirements)

This module requires SilverStripe Framework &amp; CMS version 5 and up:

- `"silverstripe/cms": "^5"`
- `"silverstripe/framework": "^5"`

For a SilverStripe 3 compatible version, please use the 1.x line of releases (with composer, require version `^1.0`).

Installation:
-------------

[](#installation)

Installation with Composer is preferred, but not required. Both methods of installation require a `dev/build`.

#### Composer

[](#composer)

```
$ composer require kinglozzer/metatitle:^3.0
```

#### ZIP Download

[](#zip-download)

Simply download the [zip version](https://github.com/kinglozzer/silverstripe-metatitle/archive/master.zip) of this repository, extract it, and copy the directory into your SilverStripe installation.

Usage:
------

[](#usage)

#### CMS

[](#cms)

Content authors can edit the meta title via the new “Meta Title” field that’s added to the “Metadata” toggle fields:

[![](images/cms.png)](images/cms.png)

#### Templates

[](#templates)

##### Automatically including the meta title

[](#automatically-including-the-meta-title)

The simplest way to ensure that the meta title is included is to call `$MetaTags` in the `` of your template. This will include the meta title (falling back to page title if meta title is not set) and the site name in the format: `Meta title » Your Site Name`.

The format can be customised by changing the `Kinglozzer\SilverStripeMetaTitle\MetaTitleExtension.title_format` config setting. For example, to change the » to a hyphen:

```
Kinglozzer\SilverStripeMetaTitle\MetaTitleExtension:
  title_format: '$MetaTitle - $SiteConfig.Title'
```

The `title_format` string is rendered as a template, so you can use globally available variables like `$SiteConfig`. `$MetaTitle` is dynamically populated with the meta title (falling back to page title if meta title is not set).

##### Manually including the meta title

[](#manually-including-the-meta-title)

You can access the meta title directly with the `$MetaTitle` variable, should you wish to control how the meta title is output directly in your template. You will need to call `$MetaTags(false)` to ensure that SilverStripe doesn’t automatically output the `` tag too:

```
$MetaTitle$Title &raquo; $SiteConfig.Title
$MetaTags(false)
```

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance80

Actively maintained with recent releases

Popularity43

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.4% 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 ~291 days

Recently: every ~514 days

Total

16

Last Release

99d ago

Major Versions

1.x-dev → 2.0.02016-10-05

2.x-dev → 3.0.02023-02-13

3.x-dev → 4.0.02025-04-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/203294386?v=4)[-&gt; lozcalver](/maintainers/kinglozzer)[@kinglozzer](https://github.com/kinglozzer)

---

Top Contributors

[![lozcalver](https://avatars.githubusercontent.com/u/1655548?v=4)](https://github.com/lozcalver "lozcalver (41 commits)")[![chrispenny](https://avatars.githubusercontent.com/u/505788?v=4)](https://github.com/chrispenny "chrispenny (1 commits)")[![marijnkampf](https://avatars.githubusercontent.com/u/699259?v=4)](https://github.com/marijnkampf "marijnkampf (1 commits)")[![micmania1](https://avatars.githubusercontent.com/u/881537?v=4)](https://github.com/micmania1 "micmania1 (1 commits)")[![purplespider](https://avatars.githubusercontent.com/u/329880?v=4)](https://github.com/purplespider "purplespider (1 commits)")[![sanderha](https://avatars.githubusercontent.com/u/6941043?v=4)](https://github.com/sanderha "sanderha (1 commits)")[![brandoniffert](https://avatars.githubusercontent.com/u/160448?v=4)](https://github.com/brandoniffert "brandoniffert (1 commits)")[![satrun77](https://avatars.githubusercontent.com/u/166450?v=4)](https://github.com/satrun77 "satrun77 (1 commits)")

---

Tags

silverstripemetatitlemetatitle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kinglozzer-metatitle/health.svg)

```
[![Health](https://phpackages.com/badges/kinglozzer-metatitle/health.svg)](https://phpackages.com/packages/kinglozzer-metatitle)
```

###  Alternatives

[cyber-duck/silverstripe-seo

A SilverStripe module to optimise the Meta, crawling, indexing, and sharing of your website content

4351.1k](/packages/cyber-duck-silverstripe-seo)

PHPackages © 2026

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