eekes / sulu-webspace-settings-bundle
Compose per-webspace settings in Sulu 3 the way you compose page templates, instead of one oversized global settings snippet.
Package info
github.com/eekes/sulu-webspace-settings-bundle
Type:symfony-bundle
pkg:composer/eekes/sulu-webspace-settings-bundle
Requires
- php: ^8.2
- doctrine/collections: ^2.0
- doctrine/dbal: ^3.6 || ^4.0
- doctrine/orm: ^2.17 || ^3.0
- sulu/sulu: ~3.0
- symfony/config: ^6.4 || ^7.0
- symfony/console: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/event-dispatcher: ^6.4 || ^7.0
- symfony/http-foundation: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4.46 || ^7.0
- symfony/service-contracts: ^3.0
- symfony/translation-contracts: ^3.0
- symfony/uid: ^6.4 || ^7.0
- twig/twig: ^3.0
Requires (Dev)
- doctrine/doctrine-bundle: ^2.11 || ^3.0
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.0
- phpstan/phpstan-doctrine: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^11.5
- symfony/browser-kit: ^6.4 || ^7.0
- symfony/css-selector: ^6.4 || ^7.0
- symfony/dotenv: ^6.4 || ^7.0
- symfony/error-handler: ^6.4.44 || ^7.0
- symfony/phpunit-bridge: ^7.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-05 14:57:48 UTC
README
Per-webspace settings for Sulu 3, composed the way you compose page templates. Declare a settings area with a PHP attribute and a template XML, and editors get a form under Webspaces in the admin, with every content type Sulu has.
What's inside
- Settings areas: one attribute and one template XML per screen; no YAML, no entity.
- Templates and fields: every Sulu content type, translated per locale or shared across all of them.
- Twig and PHP:
settings('social')in templates, a typed read model in services. - Permissions: per webspace, and per area once you have more than one.
- Caching and references: saving an area invalidates the HTTP cache of the pages that use it.
Documentation
Installation, configuration and everything else: sulu.eekes.be/sulu-webspace-settings-bundle.
License
MIT
