PHPackages                             blackbit\_digital\_commerce/pimcore-rich-snippets - 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. blackbit\_digital\_commerce/pimcore-rich-snippets

ActivePimcore-bundle

blackbit\_digital\_commerce/pimcore-rich-snippets
=================================================

Enrich your Pimcore elements with rich snippet data and output it as JSON-LD

00

Since Nov 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/BlackbitDigitalCommerce/pimcore-rich-snippets)[ Packagist](https://packagist.org/packages/blackbit_digital_commerce/pimcore-rich-snippets)[ RSS](/packages/blackbit-digital-commerce-pimcore-rich-snippets/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Rich Snippets / Microdata Bundle
================================

[](#rich-snippets--microdata-bundle)

Configuration
-------------

[](#configuration)

[![Rich snippet mapping](doc/rich-snippet-mapping.png)](doc/rich-snippet-mapping.png)

This Pimcore plugin adds a microdata tab in the edit view for documents, assets and data objects. After selecting one of the types specified by [Schema.org](https://schema.org/) you can enter the data for all the fields which the Schema.org standard defines for the selected type.

Beside direct input (click on `Value` cell) you can use drag and drop to assign objects and assets. Additionally you can enter a callback function by clicking in the `Preview` cell. This callback function supports the following variables as input:

- `$value`: The value which got entered in the cell `Value`
- `$element`: contains the current element. With this you can directly refer to a certain data object field

Example:

```
return $element->getName();
```

You can also inherit microdata items to elements below the current one. If this is undesired, mark the item as not inheritable (remove checkmark in `inheritable` column).

Output rich snippet data
------------------------

[](#output-rich-snippet-data)

To include microdata JSON-LD in output, write the following code on the wanted position:

```
{{ render(controller(
     'BlackbitRichSnippetsBundle:Output:getJSON',
     { 'element': document }
 )) }}
```

`document` is the `\Pimcore\Model\Document\Page` object in this case. For parameter `element` you can also provide an asset or a data object.

Alternatively you can call the output with element type and id:

```
{{ render(controller(
     'BlackbitRichSnippetsBundle:Output:getJSON',
     { 'elementId': productId, 'elementType': 'object' }
 )) }}
```

How to get the plugin
---------------------

[](#how-to-get-the-plugin)

Please write an email to .

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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/edf236af532784ace4b8fe1f8342c426bfcbe1ebfaa68b73fecb5a16a4e8f446?d=identicon)[BlackbitNeueMedien](/maintainers/BlackbitNeueMedien)

---

Top Contributors

[![BlackbitDevs](https://avatars.githubusercontent.com/u/8749138?v=4)](https://github.com/BlackbitDevs "BlackbitDevs (1 commits)")

### Embed Badge

![Health badge](/badges/blackbit-digital-commerce-pimcore-rich-snippets/health.svg)

```
[![Health](https://phpackages.com/badges/blackbit-digital-commerce-pimcore-rich-snippets/health.svg)](https://phpackages.com/packages/blackbit-digital-commerce-pimcore-rich-snippets)
```

PHPackages © 2026

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