PHPackages                             chrometoaster/silverstripe-metadescription-fallback - 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. chrometoaster/silverstripe-metadescription-fallback

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

chrometoaster/silverstripe-metadescription-fallback
===================================================

An extension providing a mechanism to populate meta description header from content fields when MetaDescription is empty

2.2.0(2y ago)06.9k4BSD-3-ClausePHP

Since Apr 11Pushed 2y ago5 watchersCompare

[ Source](https://github.com/chrometoasters/silverstripe-metadescription-fallback)[ Packagist](https://packagist.org/packages/chrometoaster/silverstripe-metadescription-fallback)[ Docs](http://github.com/chrometoasters/silverstripe-metadescription-fallback)[ RSS](/packages/chrometoaster-silverstripe-metadescription-fallback/feed)WikiDiscussions main Synced 1mo ago

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

SilverStripe MetaDescription Fallback
=====================================

[](#silverstripe-metadescription-fallback)

Requirements
------------

[](#requirements)

- SilverStripe 4.0 and above
- PHP 5.6 and above

Maintainers
-----------

[](#maintainers)

-
-

Description
-----------

[](#description)

This module applies a data extension to SiteTree providing a mechanism to populate meta description header from a defined set of content fields when the default MetaDescription is empty.

The list can use names of fields, names of methods or leverage the the dot notation to reference relations or methods, as outlined in the configuration example below.

### Use with Dataobjects

[](#use-with-dataobjects)

The extension this module provides can also be applied to dataobjects, for example if you are outputting them as pages and need meta tags included in the source of the page.

In this case the MetadataTagsTrait also needs to be used by those dataobjects.

Installation with [Composer](https://getcomposer.org/)
------------------------------------------------------

[](#installation-with-composer)

```
composer require "chrometoaster/silverstripe-metadescription-fallback"

```

### Example configuration

[](#example-configuration)

In your `config.yml`, define the list of fields:

```
Chrometoaster\SEO\DataExtensions\MetaDescriptionFallbackExtension:
  fallback_fields:
    - Description
    - Introduction
    - Content.Summary
    - RelatedPages.First.MetaDescription
```

Run dev/build either via opening the url `http:///dev/build` in a browser or by running the dev/build task using CLI.

Reporting Issues
----------------

[](#reporting-issues)

Please [create an issue](http://github.com/chrometoasters/silverstripe-metadescription-fallback/issues) for any bugs you've found, or features you're missing.

Changelog
---------

[](#changelog)

For details of updates, bugfixes, and features, please see the [changelog](CHANGELOG.md).

TODO
----

[](#todo)

- Add unit tests for fallback mechanism.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 65% 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 ~213 days

Recently: every ~365 days

Total

13

Last Release

766d ago

Major Versions

1.0.2 → 2.0.02019-02-15

1.0.3 → 2.0.22019-12-08

1.x-dev → 2.0.42022-11-21

PHP version history (3 changes)1.0.0PHP ^5.4

1.0.1PHP &gt;= 5.4, &lt;7.2

2.0.0PHP &gt;= 5.6, &lt;7.2

### Community

Maintainers

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

---

Top Contributors

[![michalkleiner](https://avatars.githubusercontent.com/u/233342?v=4)](https://github.com/michalkleiner "michalkleiner (13 commits)")[![normann](https://avatars.githubusercontent.com/u/556224?v=4)](https://github.com/normann "normann (4 commits)")[![satrun77](https://avatars.githubusercontent.com/u/166450?v=4)](https://github.com/satrun77 "satrun77 (2 commits)")[![zarocknz](https://avatars.githubusercontent.com/u/7462446?v=4)](https://github.com/zarocknz "zarocknz (1 commits)")

---

Tags

silverstripecmsseometa

### Embed Badge

![Health badge](/badges/chrometoaster-silverstripe-metadescription-fallback/health.svg)

```
[![Health](https://phpackages.com/badges/chrometoaster-silverstripe-metadescription-fallback/health.svg)](https://phpackages.com/packages/chrometoaster-silverstripe-metadescription-fallback)
```

###  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)[kunstmaan/seo-bundle

Annotating content with metadata for social sharing and seo purposes cannot be overlooked nowadays. The KunstmaanSeoBundle contains default editing functionality for OpenGraph data, meta descriptions, keywords and titles and Metriweb tags. Because the metatagging and tracking options are always changing, a free field to add custom header information is provided as well.

24130.0k2](/packages/kunstmaan-seo-bundle)[vaersaagod/seomate

SEO, mate! It's important.

4341.6k2](/packages/vaersaagod-seomate)[axllent/silverstripe-cms-tweaks

Several CMS usability improvements

1826.2k1](/packages/axllent-silverstripe-cms-tweaks)

PHPackages © 2026

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