PHPackages                             bitscout/simple-config - 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. bitscout/simple-config

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

bitscout/simple-config
======================

A simple way to configure a few global variables in SonataAdmin

113[1 issues](https://github.com/BitScout/SimpleConfig/issues)PHP

Since Nov 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/BitScout/SimpleConfig)[ Packagist](https://packagist.org/packages/bitscout/simple-config)[ RSS](/packages/bitscout-simple-config/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

SimpleConfig
------------

[](#simpleconfig)

A simple way to configure a few global variables in SonataAdmin. Define them in YAML, let users edit them in the admin interface.

**Status: Work in progress, not yet implemented**

### Installation

[](#installation)

Simply `composer require bitscout/simple-config` and then add this line to your `bundles.php`:

```
Bitscout\SimpleConfig\BitscoutSimpleConfigBundle::class => ['all' => true],

```

### Configuration

[](#configuration)

Create the file `config/packages/bitscout_simple_config.yaml`:

```
bitscout_simple_config:
  fields:
    foo:
      label: Fubar
      type: int
      default: bar
      show: true   # optional, default true

```

This immediately will provide you with the environment variable `SIMPLE_CONFIG_FOO`with the value `"bar"`.

In your `sonata_admin.yaml`, add a menu entry to the route `admin_app_bitscout_simple_config_list`.

### Administration

[](#administration)

**TODO**

Add Sonata admin (list/edit) to set a value in the database, load that value to replace the default.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.7% 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.

### Community

Maintainers

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

---

Top Contributors

[![ChristianKollross](https://avatars.githubusercontent.com/u/211235214?v=4)](https://github.com/ChristianKollross "ChristianKollross (11 commits)")[![BitScout](https://avatars.githubusercontent.com/u/1257143?v=4)](https://github.com/BitScout "BitScout (1 commits)")

### Embed Badge

![Health badge](/badges/bitscout-simple-config/health.svg)

```
[![Health](https://phpackages.com/badges/bitscout-simple-config/health.svg)](https://phpackages.com/packages/bitscout-simple-config)
```

PHPackages © 2026

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