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. [Templating &amp; Views](/categories/templating)
4. /
5. milkyway/silverstripe-microdata

ActiveSilverstripe-module[Templating &amp; Views](/categories/templating)

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 today

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

3968d 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

[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[unclecheese/bootstrap-forms

Allows you to create forms in SilverStripe that are compatible with Twitter Bootstrap.

5539.4k](/packages/unclecheese-bootstrap-forms)[kinglozzer/silverstripegmapsobject

Add a Google Map (optionally with Streetview) to a DataObject or Page

168.6k](/packages/kinglozzer-silverstripegmapsobject)

PHPackages © 2026

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