PHPackages                             milkyway/silverstripe-microdata - 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. milkyway/silverstripe-microdata

ActiveSilverstripe-module

milkyway/silverstripe-microdata
===============================

Add the ability to add Microdata via templates

0.1(10y ago)6581[3 PRs](https://github.com/mi3ll/silverstripe-microdata/pulls)BSD-3-ClausePHP

Since Jul 1Pushed 9y ago2 watchersCompare

[ Source](https://github.com/mi3ll/silverstripe-microdata)[ Packagist](https://packagist.org/packages/milkyway/silverstripe-microdata)[ RSS](/packages/milkyway-silverstripe-microdata/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Microdata Provider
==================

[](#microdata-provider)

This module allows you to add Microdata via your templates. This module uses **[schema.org](http://www.schema.org/)**, but you can easily change the url using the yaml config.

About microdata
---------------

[](#about-microdata)

Microdata are additional attributes and tags added to describe and provide additional information about the content of your web page.

Some search engines (in particular Google) have adopted this technology and use it to enhance their search engine results (and the appearance of your search engine result as well!)

For more information see: [Google Webmaster Tools - About microdata](https://support.google.com/webmasters/answer/176035)

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

[](#requirements)

- SilverStripe 3.1

Author
------

[](#author)

- Mellisa Hankins \[\]

Install using composer
----------------------

[](#install-using-composer)

```
composer require milkyway/silverstripe-microdata:*

```

Example Code
------------

[](#example-code)

### Page.ss

[](#pagess)

```

    Description

        $Price
        $microData.InStock$microData.NoStock

    $Content
    $microData.metaTag('rating','9.5/10')

```

This module adds a new variable: **$microData** to the global scope that creates all the necessary attributes. Some are predefined, but there are methods provided allowing you to add custom attributes. If you use a variable that does not exist on the MicrodataProvider class, it will assume it is an itemprop attribute and will add the attribute accordingly.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3965d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/873db53f59bc2f8309c506d1b56313b0c7d8c7b3160eb1700ee0754d060f9767?d=identicon)[mi3ll](/maintainers/mi3ll)

---

Top Contributors

[![mellm0](https://avatars.githubusercontent.com/u/229937?v=4)](https://github.com/mellm0 "mellm0 (3 commits)")

---

Tags

googlesilverstripeseomicrodata

### Embed Badge

![Health badge](/badges/milkyway-silverstripe-microdata/health.svg)

```
[![Health](https://phpackages.com/badges/milkyway-silverstripe-microdata/health.svg)](https://phpackages.com/packages/milkyway-silverstripe-microdata)
```

###  Alternatives

[hubertusanton/silverstripe-seo

SEO module for Silverstripe

4823.0k2](/packages/hubertusanton-silverstripe-seo)[axllent/silverstripe-trailing-slash

Ensure that a single trailing slash is always added to the URL

11182.6k5](/packages/axllent-silverstripe-trailing-slash)[silverstripe-labs/googleanalytics

The Google Analytics module consists of 2 components that can be employed independently: The Google Logger injects the google analytics javascript snippet into your source code and logs relevant events (as of now only crawler visits) The Analyzer adds the Google Analytics UI to your CMS.

3110.2k](/packages/silverstripe-labs-googleanalytics)

PHPackages © 2026

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