badpixxel / sonata-page-extra
Sonata Project - Page Extra features
Package info
gitlab.com/badpixxel-public/sonata-page-extra
Type:package
pkg:composer/badpixxel/sonata-page-extra
2.1.0
2026-11-20 17:16 UTC
Requires
- php: ^8.3
- ext-json: *
- sonata-project/admin-bundle: ^4.0
- sonata-project/page-bundle: ^4.0
- sonata-project/seo-bundle: ^3.0
- symfony/asset: ^6.4|^7.4|^8.0
- symfony/finder: ^6.4|^7.4|^8.0
- symfony/framework-bundle: ^6.4|^7.4|^8.0
- symfony/http-kernel: ^6.4|^7.4|^8.0
- symfony/mime: ^6.4|^7.4|^8.0
- symfony/process: ^6.4|^7.4|^8.0
- symfony/routing: ^6.4|^7.4|^8.0
- symfony/yaml: ^6.4|^7.4|^8.0
- twig/twig: ^3.0
- webmozart/assert: ^1.10|^2.0
Requires (Dev)
- ext-pdo_sqlite: *
- badpixxel/php-sdk: ^3.0
- knplabs/knp-menu-bundle: ^3.0
- symfony/browser-kit: ^6.4|^7.4|^8.0
- symfony/css-selector: ^6.4|^7.4|^8.0
- symfony/dom-crawler: ^6.4|^7.4|^8.0
- symfony/error-handler: ^6.4|^7.4|^8.0
- symfony/flex: ^2.0
- symfony/runtime: ^6.4|^7.4|^8.0
- symfony/security-bundle: ^6.4|^7.4|^8.0
- symfony/stimulus-bundle: ^2.20
- symfony/translation: ^6.4|^7.4|^8.0
- symfony/twig-bundle: ^6.4|^7.4|^8.0
- symfony/ux-twig-component: ^2.20
- symfony/var-dumper: ^6.4|^7.4|^8.0
Suggests
- symfony/ux-twig-component: Collect JSON-LD structured data declared by Twig Components
Provides
None
Conflicts
None
Replaces
None
README
Extra features for Sonata Page Bundle multisite websites: SEO, sitemaps, robots, redirections, pages configured from Yaml files and page structured data (JSON-LD).
| Feature | What it does |
|---|---|
| SEO | Page title & metadata, canonical url, hreflang alternates, indexing, extra metas |
| Sitemaps & Robots | One robots.txt & one sitemap per host, built from Cms & hybrid pages |
| Redirections | Old urls redirected to pages, managed from Sonata Admin or Yaml |
| Pages configuration | Sonata pages titles, metas, indexing & redirections versioned in Yaml |
| Structured data | A single JSON-LD graph per page, declared by Twig Components |
| Routing | Generate urls of other websites, fallback on page aliases of the default website |
Requirements
| Package | Versions |
|---|---|
| PHP | 8.3, 8.4, 8.5 |
| Symfony | 6.4 LTS, 7.4 LTS, 8.x |
| Sonata Page Bundle | 4.x |
Quick Start
composer require badpixxel/sonata-page-extra
See Installation, then Configuration.
Documentation
- Installation
- Configuration reference
- SEO
- Sitemaps & Robots
- Redirections
- Pages configuration
- Structured data (JSON-LD)
- Routing
- Upgrade from 1.x
- Development & tests
- Changelog
License
This package is available under the MIT license.