PHPackages                             agence-raid/sulu-site-configuration-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. agence-raid/sulu-site-configuration-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

agence-raid/sulu-site-configuration-bundle
==========================================

Sulu CMS bundle for managing per-webspace site configuration

v1.0.2(1mo ago)05MITPHPPHP &gt;=8.2

Since Apr 14Pushed 1mo agoCompare

[ Source](https://github.com/Agence-Raid/sulu-site-configuration-bundle)[ Packagist](https://packagist.org/packages/agence-raid/sulu-site-configuration-bundle)[ RSS](/packages/agence-raid-sulu-site-configuration-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Sulu Site Configuration Bundle
==============================

[](#sulu-site-configuration-bundle)

Adds a **Configuration** tab in the Sulu webspace view to manage per-webspace, per-locale site settings (phone, email, social links, logo, etc.) stored as a flexible JSON entity.

Installation
------------

[](#installation)

### 1. Require the package

[](#1-require-the-package)

```
composer require agence-raid/sulu-site-configuration-bundle
```

### 2. Register the bundle

[](#2-register-the-bundle)

In `config/bundles.php`:

```
AgenceRaid\SuluSiteConfigurationBundle\SuluSiteConfigurationBundle::class => ['all' => true],
```

### 3. Register the routes

[](#3-register-the-routes)

In `config/routes/admin.yaml`:

```
agence_raid_sulu_site_configuration_admin:
    resource: '@SuluSiteConfigurationBundle/config/routes/admin.yaml'
```

### 4. Run the migration

[](#4-run-the-migration)

```
bin/adminconsole doctrine:migrations:diff
bin/adminconsole doctrine:migrations:migrate
```

### 5. Create your form

[](#5-create-your-form)

Create `config/forms/webspace_configs/default.xml` with the fields you need:

```

    site_configuration

                Logo

                Email

```

To override the form for a specific webspace, create `config/forms/webspace_configs/{webspace-key}.xml` with key `site_configuration_{webspace-key}`.

### 6. Grant permissions

[](#6-grant-permissions)

Go to **Settings → Roles** in the Sulu admin and grant `{webspace-key}.configuration` permissions to the relevant roles.

Usage
-----

[](#usage)

### In Twig templates

[](#in-twig-templates)

```
{{ site_config('website_email') }}
{{ site_config('phone', '+33 0 00 00 00 00') }}

{% set logo = sulu_resolve_media(site_config('logo').id, app.request.locale) %}

```

### In PHP services

[](#in-php-services)

```
use AgenceRaid\SuluSiteConfigurationBundle\Service\SiteConfigurationService;

public function __construct(
    private readonly SiteConfigurationService $configurationService,
) {}

$email = $this->configurationService->get('my-webspace', 'fr', 'website_email');
$all   = $this->configurationService->getAll('my-webspace', 'fr');
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance89

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

56d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0546e0c287d3b3211b6929b435b8cef38feb9ef592298382f2940c95a0a051c7?d=identicon)[LukaGrc](/maintainers/LukaGrc)

### Embed Badge

![Health badge](/badges/agence-raid-sulu-site-configuration-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/agence-raid-sulu-site-configuration-bundle/health.svg)](https://phpackages.com/packages/agence-raid-sulu-site-configuration-bundle)
```

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M195](/packages/sulu-sulu)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

51090.8k2](/packages/web-auth-webauthn-framework)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9017.2k55](/packages/open-dxp-opendxp)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
