PHPackages                             orbiter/satellite-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. orbiter/satellite-config

ActiveLibrary

orbiter/satellite-config
========================

Simple config aggregator with caching.

0.2.1(3y ago)01881MITPHPPHP &gt;=8.1

Since Jun 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bemit/satellite-config)[ Packagist](https://packagist.org/packages/orbiter/satellite-config)[ Docs](https://bemit.codes)[ RSS](/packages/orbiter-satellite-config/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (5)Used By (1)

Orbiter\\Satellite Config
=========================

[](#orbitersatellite-config)

[![Latest Stable Version](https://camo.githubusercontent.com/5ab47fc4f49007fbce3139176562c596983d8b1bb65a501ea35ce73abefbc9d4/68747470733a2f2f706f7365722e707567782e6f72672f6f7262697465722f736174656c6c6974652d636f6e6669672f76657273696f6e2e737667)](https://packagist.org/packages/orbiter/satellite-config)[![Latest Unstable Version](https://camo.githubusercontent.com/765ffb25bb7daf4a1f86d80d667f82709a186a4acc78a79159e0f79baf4993db/68747470733a2f2f706f7365722e707567782e6f72672f6f7262697465722f736174656c6c6974652d636f6e6669672f762f756e737461626c652e737667)](https://packagist.org/packages/orbiter/satellite-config)[![codecov](https://camo.githubusercontent.com/9b59b9869620627795271cd6fd556806ed8d5fccbc8075bf93f28035860bba6b/68747470733a2f2f636f6465636f762e696f2f67682f62656d69742f736174656c6c6974652d636f6e6669672f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d39426f706f576d644877)](https://codecov.io/gh/bemit/satellite-config)[![Total Downloads](https://camo.githubusercontent.com/7c772e754a760c6c157e97dc122a3de95bac798ea28fd8af89f955456b8c0605/68747470733a2f2f706f7365722e707567782e6f72672f6f7262697465722f736174656c6c6974652d636f6e6669672f646f776e6c6f6164732e737667)](https://packagist.org/packages/orbiter/satellite-config)[![Github actions Build](https://github.com/bemit/satellite-config/actions/workflows/blank.yml/badge.svg)](https://github.com/bemit/satellite-config/actions)[![PHP Version Require](https://camo.githubusercontent.com/a85226e49fa3d62877e96c0a44b1b3b9535b320c7cf12ec2651d1e36ee0415e6/687474703a2f2f706f7365722e707567782e6f72672f6f7262697465722f736174656c6c6974652d636f6e6669672f726571756972652f706870)](https://packagist.org/packages/orbiter/satellite-config)

- simple config aggregator with caching

Check [satellite-app](https://github.com/bemit/satellite-app) for a ready to use template, or install just this library:

```
composer require orbiter/satellite-config
```

- [ConfigProvider](./tests/mock/ConfigProvider.php) implementing `Satellite\Config\ConfigProviderInterface`
- [ConfigInvokableProvider](./tests/mock/ConfigInvokableProvider.php) using `__invoke(): array`

```
$aggregator = new \Satellite\Config\ConfigAggregator($is_prod ? __DIR__ . '/tmp/config_aggregated.php' : null);
$aggregator->append(
    ConfigProvider::class,
    ConfigInvokableProvider::class,
    // pass down functions which return an array (when using cache: only executed on warm-up)
    static fn() => [
        'some_array' => [
            'a' => [],
        ],
    ],
    // pass down arrays:
    [
        'some_array' => [
            'b' => [],
            // functions can also be used nested (when using cache: only executed on warm-up)
            'c' => static fn() => [],
        ]
    ],
);
// just aggregate:
$config = $aggregator->make();
// aggregate and use cache (if configured):
$config = $aggregator->configure();
```

Dev Notices
-----------

[](#dev-notices)

Commands to set up and run e.g. tests:

```
# on windows:
docker run -it --rm -v %cd%:/app composer install

docker run -it --rm -v %cd%:/var/www/html php:8.1-cli-alpine sh

docker run --rm -v %cd%:/var/www/html php:8.1-cli-alpine sh -c "cd /var/www/html && ./vendor/bin/phpunit --testdox -c phpunit-ci.xml --bootstrap vendor/autoload.php"

# on unix:
docker run -it --rm -v `pwd`:/app composer install

docker run -it --rm -v `pwd`:/var/www/html php:8.1-cli-alpine sh

docker run --rm -v `pwd`:/var/www/html php:8.1-cli-alpine sh -c "cd /var/www/html && ./vendor/bin/phpunit --testdox -c phpunit-ci.xml --bootstrap vendor/autoload.php"
```

Versions
--------

[](#versions)

This project adheres to [semver](https://semver.org/), **until `1.0.0`** and beginning with `0.1.0`: all `0.x.0` releases are like MAJOR releases and all `0.0.x` like MINOR or PATCH, modules below `0.1.0` should be considered experimental.

License
-------

[](#license)

This project is free software distributed under the [**MIT LICENSE**](LICENSE).

### Contributors

[](#contributors)

By committing your code to the code repository you agree to release the code under the MIT License attached to the repository.

---

Maintained by [Michael Becker](https://i-am-digital.eu)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~46 days

Total

4

Last Release

1305d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/946489901a36f4507ead2ce24d3e9c6570ae4e16ab1aed0ef6314237302ecb37?d=identicon)[bemit](/maintainers/bemit)

---

Top Contributors

[![elbakerino](https://avatars.githubusercontent.com/u/7737034?v=4)](https://github.com/elbakerino "elbakerino (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/orbiter-satellite-config/health.svg)

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

PHPackages © 2026

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