PHPackages                             dmishh/settings-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. dmishh/settings-bundle

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

dmishh/settings-bundle
======================

Database centric Symfony configuration management. Global and per-user settings supported.

1.0.7(11y ago)115257.8k↓52.8%60[20 issues](https://github.com/rvanlaak/SettingsBundle/issues)[9 PRs](https://github.com/rvanlaak/SettingsBundle/pulls)1MITPHPPHP &gt;=5.3.3CI failing

Since Mar 23Pushed 3y ago10 watchersCompare

[ Source](https://github.com/rvanlaak/SettingsBundle)[ Packagist](https://packagist.org/packages/dmishh/settings-bundle)[ Docs](https://github.com/dmishh/SettingsBundle)[ RSS](/packages/dmishh-settings-bundle/feed)WikiDiscussions 3.x Synced yesterday

READMEChangelog (6)Dependencies (8)Versions (24)Used By (1)

SettingsBundle
==============

[](#settingsbundle)

Bundle for storing configuration with Symfony in database using Doctrine ORM.

👀 This bundle was previously known as `dmissh/settings-bundle`, and the Packagist installation instruction will stay as is.

Features
--------

[](#features)

- Easy-to-use (Twig extension, container service)
- Settings scopes per user, global or all
- Settings validation by using the Symfony Form Component
- 2 serialization mechanisms: PHP `serialize()` and JSON (+ you can write your own)
- Settings caching (PSR-6)
- Fast and extensible

Quick usage examples
--------------------

[](#quick-usage-examples)

Symfony controller:

```
// Global settings
$settingsManager->set('name', 'foo');
$settingsManager->get('name'); // returns 'foo'

// User settings
$settingsManager->get('name', $user); // returns global 'foo'
$settingsManager->set('name', 'bar', $user);
$settingsManager->get('name', $user); // returns 'bar'
```

Twig template:

```
{# Global setting #}
{{ get_setting('some_setting') }} {# => 'value' #}

{# User setting #}
{{ get_setting('some_user_setting', app.user) }} {# => 'value' #}
```

See the [general usage](/Resources/doc/general-usage.md) documentation for more examples.

Documentation
-------------

[](#documentation)

- [Installation](/Resources/doc/installation.md)
- [General usage](/Resources/doc/general-usage.md)
- [Scopes](/Resources/doc/scopes.md)
- [Advanced configuration](/Resources/doc/advanced-configuration.md)
- [I18n](/Resources/doc/i18n.md)
- [Customization](/Resources/doc/customization.md)
- [FAQ](/Resources/doc/faq.md)

Changelog, Roadmap and contribution
-----------------------------------

[](#changelog-roadmap-and-contribution)

Please, do not hesitate to [report bugs](https://github.com/dmishh/SettingsBundle/issues) or send [pull requests](https://github.com/dmishh/SettingsBundle/pulls). It will help to motivate me to support library better than anything else :)

See [CHANGELOG.md](CHANGELOG.md) for all major changes.

### Upgrade from 1.0.\*

[](#upgrade-from-10)

Make sure to read the [UPGRADE.md](UPGRADE.md) to successfully migrate your application.

License
-------

[](#license)

The MIT License. For the full text of license, please, see [LICENSE](/LICENSE)

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~603 days

Total

24

Last Release

1243d ago

Major Versions

1.x-dev → 2.0.0-alpha12015-03-16

2.0.0-beta4 → 3.0.0-beta12019-12-12

PHP version history (4 changes)1.0.0-alpha1PHP &gt;=5.3.3

2.0.0-beta2PHP ^5.5.9|^7.0

3.0.0-beta1PHP ^7.2

v3.0.0-beta3PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e73bc5a42356db8e0111fec3c7453504b7676f170de15cfa82620a6fa6e7aaa?d=identicon)[rvanlaak](/maintainers/rvanlaak)

![](https://www.gravatar.com/avatar/3bc00bbd97a661d57baa72969b9fefda4111f20ee06ac49471cdc3bf4f95459e?d=identicon)[dmishh](/maintainers/dmishh)

---

Top Contributors

[![dmishh](https://avatars.githubusercontent.com/u/822562?v=4)](https://github.com/dmishh "dmishh (88 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (64 commits)")[![rvanlaak](https://avatars.githubusercontent.com/u/2707563?v=4)](https://github.com/rvanlaak "rvanlaak (40 commits)")[![nikophil](https://avatars.githubusercontent.com/u/10139766?v=4)](https://github.com/nikophil "nikophil (4 commits)")[![jonny-no1](https://avatars.githubusercontent.com/u/282458?v=4)](https://github.com/jonny-no1 "jonny-no1 (3 commits)")[![Alexandre-T](https://avatars.githubusercontent.com/u/5101481?v=4)](https://github.com/Alexandre-T "Alexandre-T (1 commits)")[![jphilaine](https://avatars.githubusercontent.com/u/707933?v=4)](https://github.com/jphilaine "jphilaine (1 commits)")[![Koc](https://avatars.githubusercontent.com/u/191082?v=4)](https://github.com/Koc "Koc (1 commits)")[![jongotlin](https://avatars.githubusercontent.com/u/165154?v=4)](https://github.com/jongotlin "jongotlin (1 commits)")[![aminin](https://avatars.githubusercontent.com/u/329494?v=4)](https://github.com/aminin "aminin (1 commits)")[![Atyz](https://avatars.githubusercontent.com/u/1155066?v=4)](https://github.com/Atyz "Atyz (1 commits)")[![fautor](https://avatars.githubusercontent.com/u/21367624?v=4)](https://github.com/fautor "fautor (1 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (1 commits)")

---

Tags

bundleconfigurationSettingsconfigSymfony2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dmishh-settings-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dmishh-settings-bundle/health.svg)](https://phpackages.com/packages/dmishh-settings-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M736](/packages/sylius-sylius)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)

PHPackages © 2026

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