Skip to content

Repository files navigation

NimbusCMS SEO

Structured data for NimbusCMS public pages — an official plugin, and the reference implementation of the head-contribution capability (ADR 0004).

Nimbus core already renders per-page <title>, <meta description>, canonical and Open Graph tags, plus sitemap.xml and robots.txt. This plugin adds the opinionated layer on top: schema.org JSON-LD, so search engines can read your content as structured data.

What it does

Install it and every public page gains a <script type="application/ld+json"> block, built entirely from the page data Nimbus hands the plugin:

Page schema.org type
an entry Article (headline, url, datePublished, publisher)
the home page WebSite
a collection index CollectionPage

Every public page also gains a <meta name="generator" content="NimbusCMS"> — the standard CMS-identification tag. It is deliberately version-less (a version would be fingerprinting surface for no benefit) and carries no page data, so it is neither an escaping nor a fingerprinting concern.

No configuration. No database access — the plugin only ever sees the prepared view-model of the page being rendered. Output is encoded so a value containing </script> can never break out of the script element.

Advertising the CMS's agent/MCP control surface is not done in the page <head>: no agent convention consumes head-level MCP hints today, and the endpoint is a core fact. That belongs in a core-served /llms.txt, alongside robots.txt.

Install

composer require nimbuscms/seo

That is all — Nimbus discovers the plugin through Composer and registers it. To turn it off without uninstalling, list it in config/plugins.php:

return [
    'nimbuscms.seo' => false,
];

Requirements

  • PHP 8.2+
  • NimbusCMS (this plugin depends on the head-contribution capability, ADR 0004)

License

MIT.

About

SEO structured data (JSON-LD) for NimbusCMS — an official plugin

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages