dorsetdigital / silverstripe-schema-manager
Structured data schema registry and helpers for Silverstripe CMS 5 and 6.
Package info
github.com/DorsetDigital/silverstripe-schema-manager
Type:silverstripe-vendormodule
pkg:composer/dorsetdigital/silverstripe-schema-manager
Requires
- php: ^8.1
- silverstripe/asset-admin: ^2 || ^3
- silverstripe/assets: ^2 || ^3
- silverstripe/cms: ^5 || ^6
- silverstripe/framework: ^5 || ^6
- silverstripe/siteconfig: ^5 || ^6
Requires (Dev)
- phpunit/phpunit: ^9.6 || ^10 || ^11.3
- silverstripe/recipe-testing: ^3 || ^4
Suggests
- silverstripe/blog: Enable the optional BlogPosting schema extension for Silverstripe Blog posts.
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-19 20:41:59 UTC
README
Structured data for Silverstripe CMS 5 and 6, combining automatic site and page metadata with optional, content-specific Schema.org entities.
Schema Manager produces a linked JSON-LD @graph and inserts it into the page's <head> automatically. It provides a consistent way to describe your organisation, website and content to search engines, without requiring changes to your templates.
Installation
composer require dorsetdigital/silverstripe-schema-manager vendor/bin/sake dev/build flush=1
Requires PHP 8.1+ for CMS 5 or PHP 8.3+ for CMS 6.
What happens automatically?
On standard Silverstripe pages, Schema Manager provides:
- Organization — details of your organisation, managed through SiteConfig.
- WebSite — the website and its relationship to the organisation.
- WebPage — page URL, title, description and available publication metadata.
- BreadcrumbList — the page's position in the site hierarchy.
These entities are linked together using stable identifiers and rendered as a single JSON-LD graph. No template changes or additional PHP are required.
Automatic organisation, website, webpage and breadcrumb output can each be enabled or disabled independently. See Site schema and Breadcrumbs.
Supported schema types
Beyond the automatically generated entities, the module provides builders and integrations for:
| Schema.org type | Documentation |
|---|---|
| Organization and WebSite | Site schema |
| WebPage | WebPage builder |
| BreadcrumbList | Breadcrumbs |
| FAQPage | FAQs |
| ImageGallery | Image galleries |
| VideoObject | Videos (YouTube and Vimeo) |
| ItemList | Content lists |
| Product | Products |
| Service | Services |
| JobPosting | Job postings |
| BlogPosting | Blog integration |
| Event | Events |
| Person | People |
| LocalBusiness | Local businesses |
| Review and Rating | Reviews and ratings |
| AggregateRating | Aggregate ratings |
| Quotation | Quotations |
Additional functionality
CMS page annotations: Editors can add structured data to individual pages through a Schema tab. Built-in annotations cover Event and Service; developers can configure additional definitions. Read the page annotation guide.
FAQ aggregation: Questions from multiple sections can be combined into a single FAQPage entity for the page. Read the FAQ guide.
Optional Blog integration: Projects using silverstripe/blog can opt in to automatic BlogPosting output. Read the Blog guide.
Developer integrations: Register custom entities, link them to pages or existing site entities, and extend the generated graph through hooks. Working with schema entities · Developer API reference.
License
BSD 3-Clause License.