PHPackages                             plozmun/sulu-schema-org-bundle - 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. plozmun/sulu-schema-org-bundle

ActiveSulu-bundle[Utility &amp; Helpers](/categories/utility)

plozmun/sulu-schema-org-bundle
==============================

Sulu Bundle for structured data creation

v1.0.9(3y ago)21571MITPHPPHP &gt;=7.4

Since May 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/plozmun/SuluSchemaOrgBundle)[ Packagist](https://packagist.org/packages/plozmun/sulu-schema-org-bundle)[ RSS](/packages/plozmun-sulu-schema-org-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (19)Versions (12)Used By (0)

Sulu SchemaOrg Bundle
=====================

[](#sulu-schemaorg-bundle)

This bundle integrates Structured Data from [Schema.org](https://schema.org/) to your project.

Instalation
-----------

[](#instalation)

```
composer requiere plozmun/sulu-schema-org-bundle
```

Insert this code into your "base.html.twig" so that the entire generated schema is automatically inserted into the response.

```
  {{ constant('Plozmun\\Bundle\\SuluSchemaOrgBundle\\Factory\\SchemaOrgFactory::TWIG_KEY')|raw }}

```

Now you can define Schema types for each template adding a 'sulu.schema\_org' tag for each template and elements.

Basic example in homepage.xml

```
    homepage

    pages/homepage
    Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction
    86400

        Homepage
        Homepage

                Title
                Título

                Slug
                Slug

```

Generated code:

```

    {
    "@context":"https:\/\/schema.org",
    "@type":"WebSite",
    "name":"Homepage",
    "url":"\/",
    "description":"Metadescription",
    "datePublished":"2020-05-20T12:33:59+02:00"
    }

```

There are some useful options for self-assigning Seo and Extracts properties

```
sulu_schema_org:
    # image format generated for all image types
    image_format: "sulu-240x"

    organization:
        enabled: true
        schema: EducationalOrganization
        uid: main

    extensions:
        seo:
            default:
                title:
                    property: name
                    type: text_line
                description:
                    property: description
                    type: text_line
            Article:
                description:
                    property: headline
                    type: text_line
        excerpt:
            default:
                icon:
                    property: image
                    type: media_selection
```

Tags in blocks
--------------

[](#tags-in-blocks)

You can define properties in all blocks of the project by assigning the fields according to the scope.

```

            01M - Hero
            01M - Hero

                    Título
                    Title

                    Imágenes
                    Images

```

Sometimes the field is used in multiple scopes, then you can change 'itemtype' property by "\*"

```

```

Complex structures
------------------

[](#complex-structures)

Many schemas define child objects, like Addrees in a Event, so you must register all in template with its scope. The property *itemscope* defines the parent so you must specify

```

```

Now if a property with *itemtype="PostalAddress* exists in your code it will be assigned to its schema:

```

      City

      Zip

  ...
```

Breadcrumb
----------

[](#breadcrumb)

There is a Twig Function to generate Breadcrumb schema. Put in any place of your twig templates:

```
  {{ sulu_schema_org('breadcrumb', breadcrumb) }}
```

Organizations
-------------

[](#organizations)

If organitation option is enabled in configuration. An Organization Schema with *uid* defined will be inyected in schema list. You must specify the type of your organization. [See some types here](https://schema.org/Organization#subtypes)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 96.9% 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 ~77 days

Recently: every ~147 days

Total

11

Last Release

1405d ago

Major Versions

v0.1.5 → v1.0.12020-11-26

PHP version history (2 changes)v0.1.0PHP ^7.4

v1.0.1PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/76d0c800b8ccf566f3de8d266b9d8efe092bdb9dd6395325c5f7f980d6f0d830?d=identicon)[plozmun](/maintainers/plozmun)

---

Top Contributors

[![plozmun](https://avatars.githubusercontent.com/u/879675?v=4)](https://github.com/plozmun "plozmun (31 commits)")[![havelinux](https://avatars.githubusercontent.com/u/7963705?v=4)](https://github.com/havelinux "havelinux (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/plozmun-sulu-schema-org-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/plozmun-sulu-schema-org-bundle/health.svg)](https://phpackages.com/packages/plozmun-sulu-schema-org-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)

PHPackages © 2026

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