alveby / atrium-seo
SEO for Atrium: meta templates, hreflang across sites, sitemaps per language with images, IndexNow, schema.org JSON-LD, redirects with a 404 log, and an SEO check
Package info
Type:atrium-module
pkg:composer/alveby/atrium-seo
Requires
- php: ^8.3
- ext-dom: *
- ext-intl: *
- ext-xmlwriter: *
- alveby/atrium: ^0.1
- illuminate/support: ^13.0
Requires (Dev)
- alveby/atrium-brands: ^0.1
- alveby/atrium-catalog: ^0.1
- alveby/atrium-faq: ^0.1
- alveby/atrium-news: ^0.1
- alveby/atrium-reviews: ^0.1
- alveby/atrium-stores: ^0.1
- alveby/atrium-theme: ^0.1
- orchestra/testbench: ^11.0
- phpunit/phpunit: ^12.5
Suggests
- alveby/atrium-theme: Draws the public pages the meta, hreflang and JSON-LD go into
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-19 23:08:52 UTC
README
SEO for every site and language of Atrium:
- titles and descriptions from templates per module, with defaults in 15 languages;
- canonical and hreflang across sites and languages, with
x-default; sitemap.xmlas an index per language, in parts of 50,000, withlastmodand pictures;- IndexNow pings to Bing and Yandex when a record is saved;
- one schema.org JSON-LD graph per page that any module adds to;
- 301/302/410 redirects with a CSV import, chain and loop detection, and a 404 log;
- an SEO check that lists each problem with a link to the record.
Install
composer require alveby/atrium-seo php artisan atrium:module:install alveby/atrium-seo
The panel gets an SEO group, and the settings are under Modules → SEO. The full guide, with the contract for a module's own markup: docs/seo.md (по-русски).
Works with
alveby/atrium-themedraws the pages the tags go into.- The catalog, news, FAQ, stores and reviews modules get their markup without a line of their own.
- Another module adds its nodes with a
SchemaProviderand its addresses with aSitemapSource, without depending on this package.
Tests
Atrium\Seo\Schema\Validator::errors($json) checks JSON-LD against the schema.org types. Use it in a module's tests to check its markup.
Contributing
This repository is a read-only copy of packages/seo in AlveBy/atrium. Issues and pull requests go there.
License
MIT