PHPackages                             patlabs/sulu-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. patlabs/sulu-configuration-bundle

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

patlabs/sulu-configuration-bundle
=================================

A Sulu bundle for managing dynamic configuration settings through the admin interface with form-based configuration storage and retrieval

0.2.0(1y ago)49MITPHPPHP ^8.1

Since May 30Pushed 1y agoCompare

[ Source](https://github.com/patrickpahlke03/SuluConfigurationBundle)[ Packagist](https://packagist.org/packages/patlabs/sulu-configuration-bundle)[ RSS](/packages/patlabs-sulu-configuration-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (14)Versions (3)Used By (0)

SuluConfigurationBundle
=======================

[](#suluconfigurationbundle)

**SuluConfigurationBundle** enables easy creation, management and use of custom configurations in [Sulu CMS](https://sulu.io). It provides a flexible structure for defining and maintaining settings via the admin interface or programmatically via Symfony.

📦 Requirements
--------------

[](#-requirements)

- Sulu CMS &gt;= 2.6

🚀 Features
----------

[](#-features)

- Configuration management via the Sulu admin UI
- Support for all Sulu form fields
- Ability to group and structure settings
- Integration in Twig and controllers via simple service access

🛠️ Installation
---------------

[](#️-installation)

```
composer require patlabs/sulu-configuration-bundle
```

Then register the bundle:

```
// config/bundles.php
return [
    // ...
    PatLabs\SuluConfigurationBundle\SuluConfigurationBundle::class => ['all' => true],
];
```

Add the admin routing configuration:

```
# config/routes/sulu_admin.yaml
...

sulu_config_api:
  resource: "@SuluConfigurationBundle/Resources/config/routing_api.yml"
  type: rest
  prefix: /admin/api
```

Add the following package configuration:

```
# config/packages/sulu_configuration.yaml
sulu_configuration:
  configurations:
    directories:
      - '%kernel.project_dir%/config/configs'
```

Create the configs folder: `config/configs`

In this folder, all desired configurations can be defined. To do this, simply create an XML that defines an Admin Form, as you already know. ()

Last but not least, you need to update the database schema:

```
php bin/console doctrine:schema:update --force
```

🛠️ Configuration
----------------

[](#️-configuration)

To add a custom settings panel in the administration, simply create an XML in `config/configs` that defines an Admin Form, as you already know. () Also have a look at the example. ()

🔤️ Admin UI
-----------

[](#️-admin-ui)

The bundle integrates seamlessly into the Sulu Admin Interface and allows:

- Editing of all defined configurations
- Validation of inputs

💡 Usage in Code
---------------

[](#-usage-in-code)

```
// Controller
$siteTitle = $this->get(\PatLabs\SuluConfigurationBundle\Services\ConfigService::class)->getConfig('configKey.fieldName');
```

Or in Twig:

```
{{ sulu_config('configKey.fieldName') }}
```

---

**Made with ❤️ for Sulu Developers**

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance47

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

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 ~2 days

Total

2

Last Release

397d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc419e2158ce81ab05feed7ccf51ec7d25918080a1bf3329a06a58cd575263aa?d=identicon)[paaaatrick03](/maintainers/paaaatrick03)

---

Top Contributors

[![ppahlke](https://avatars.githubusercontent.com/u/115213204?v=4)](https://github.com/ppahlke "ppahlke (9 commits)")[![patrickpahlke03](https://avatars.githubusercontent.com/u/69801380?v=4)](https://github.com/patrickpahlke03 "patrickpahlke03 (3 commits)")

---

Tags

configurationconfigsulusulucms

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k525.7M2.0k](/packages/symfony-options-resolver)[league/config

Define configuration arrays with strict schemas and access values with dot notation

565335.0M36](/packages/league-config)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29735.5k](/packages/sulu-skeleton)[thecadien/sulu-news-bundle

Simple News Bundle for Sulu 2 CMS

153.1k](/packages/thecadien-sulu-news-bundle)

PHPackages © 2026

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