PHPackages                             wyrihaximus/react-sync-configmap-mount-to-env - 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. wyrihaximus/react-sync-configmap-mount-to-env

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wyrihaximus/react-sync-configmap-mount-to-env
=============================================

🕵️‍♀️ Monitors and syncs configmap mount into environment variables

11.7k[4 PRs](https://github.com/WyriHaximus/reactphp-sync-configmap-mount-to-env/pulls)Makefile

Since Oct 22Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/reactphp-sync-configmap-mount-to-env)[ Packagist](https://packagist.org/packages/wyrihaximus/react-sync-configmap-mount-to-env)[ RSS](/packages/wyrihaximus-react-sync-configmap-mount-to-env/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

ReactPHP Sync Configmap Mount to environment
============================================

[](#reactphp-sync-configmap-mount-to-environment)

Monitors and syncs configmap mount into environment variables

[![Continuous Integration](https://github.com/wyrihaximus/reactphp-sync-configmap-mount-to-env/workflows/Continuous%20Integration/badge.svg)](https://github.com/wyrihaximus/reactphp-sync-configmap-mount-to-env/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/70e1034181133582932a40f29603180427a513917b83eb6dda1511de6fa2deb6/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f72656163742d73796e632d636f6e6669676d61702d6d6f756e742d746f2d656e762f762f737461626c652e706e67)](https://packagist.org/packages/wyrihaximus/react-sync-configmap-mount-to-env)[![Total Downloads](https://camo.githubusercontent.com/b4ef70b0796893a62f05a95ebf5c48a30d7b9418935f81ca808977b5e40bad9b/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f72656163742d73796e632d636f6e6669676d61702d6d6f756e742d746f2d656e762f646f776e6c6f6164732e706e67)](https://packagist.org/packages/wyrihaximus/react-sync-configmap-mount-to-env/stats)[![Type Coverage](https://camo.githubusercontent.com/133e4ea57fa9a7fa7f920c5e1e51cb22aedd9703afaad1ab04ff4ec42630e68f/68747470733a2f2f73686570686572642e6465762f6769746875622f57797269486178696d75732f72656163747068702d73796e632d636f6e6669676d61702d6d6f756e742d746f2d656e762f636f7665726167652e737667)](https://shepherd.dev/github/WyriHaximus/reactphp-sync-configmap-mount-to-env)[![License](https://camo.githubusercontent.com/b50e956fd731abdd6e9a86eb9475bf46d9e03db131d676928249efd7e9ba62d4/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f72656163742d73796e632d636f6e6669676d61702d6d6f756e742d746f2d656e762f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/react-sync-configmap-mount-to-env)

Installation
============

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require wyrihaximus/react-sync-configmap-mount-to-env

```

Usage
=====

[](#usage)

```
use React\EventLoop\Loop;
use WyriHaximus\React\Env\ConfigMapMountSyncer\Syncer;
use function React\Async\await;
use function React\Promise\Timer\sleep;

getenv('Q_PRE_FETCH_COUNT'); // null
file_put_contents('/etc/mounted-confimap/Q_PRE_FETCH_COUNT', 5); // Just here to show the value in the file

$canceler = Syncer::sync('/etc/mounted-configmap');

Loop::addTimer(5, $canceler); // Cancels the syncer after five seconds
await(sleep(6))

getenv('Q_PRE_FETCH_COUNT'); // 5
```

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2022 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance43

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.5% 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://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")

### Embed Badge

![Health badge](/badges/wyrihaximus-react-sync-configmap-mount-to-env/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-react-sync-configmap-mount-to-env/health.svg)](https://phpackages.com/packages/wyrihaximus-react-sync-configmap-mount-to-env)
```

###  Alternatives

[spatie/laravel-analytics

A Laravel package to retrieve Google Analytics data.

3.2k5.7M57](/packages/spatie-laravel-analytics)[spatie/period

Complex period comparisons

1.7k4.0M10](/packages/spatie-period)[contributte/di

Extra contrib to nette/di

465.8M18](/packages/contributte-di)[slince/composer-registry-manager

Composer mirrors manager

56314.9k](/packages/slince-composer-registry-manager)[hyva-themes/magento2-graphql-tokens

Adds Customer and Cart tokens to CustomerData sections

242.6M2](/packages/hyva-themes-magento2-graphql-tokens)[mkraemer/react-pcntl

PCNTL bindings for ReactPHP

57289.0k9](/packages/mkraemer-react-pcntl)

PHPackages © 2026

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