PHPackages                             hammer/config-manager - 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. hammer/config-manager

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

hammer/config-manager
=====================

Hammer Config Manager

0584PHP

Since Dec 8Pushed 5y ago3 watchersCompare

[ Source](https://github.com/WeidenhammerCommerce/config-manager)[ Packagist](https://packagist.org/packages/hammer/config-manager)[ RSS](/packages/hammer-config-manager/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Hammer Config Manager
=====================

[](#hammer-config-manager)

How to install?
---------------

[](#how-to-install)

### Install using composer

[](#install-using-composer)

2. `composer require hammer/config-manager:dev-master`
3. Enable the module: `bin/magento module:enable Hammer_ConfigManager`
4. `bin/magento setup:upgrade`

How to use it?
--------------

[](#how-to-use-it)

Set the environment you are working on (example: local, dev, stage, preprod, prod) using the following command

`bin/magento hammer:environment:set [local, dev, stage, preprod, prod]`

This one create a new entry to env.php (app/etc/env.php)

`'hammer_environment' => 'local'`

that it's used by the Config Manager in order to know where to find the correct file with the information that correspond to each environment. Local configuration should be a config file in app/etc/custom\_config/local/config.json

For other environments (dev, stage, preprod and prod) the file should be located in app/etc/custom\_config/config.json.

All these files contains the data for the values that change in each environment.

For example:

```
{
  "Hammer_PaymentSetup::paypal/wpp/api_username": "direct-facilitator_api1.testmerchant.com",
  "Hammer_PaymentSetup::paypal/wpp/api_password": "FOCQ5TD5JRNH8TDG",
  "Hammer_PaymentSetup::paypal/wpp/api_signature": "AFcWxV21C7fe9m3bPOFHRpSSRl31AOsbMi0t56rdj7bZ7m9EkAVQQ1gr",
  "Hammer_PaymentSetup::paypal/wpp/sandbox_flag": 1
}

```

To use this we should inject the dependencies like

```
public function __construct(
    EncryptorInterface $encryptor,
    Config $config,
    \Hammer\ConfigManager\Helper\ConfigManager $configManager)
    {
    //var initialization
}

```

after that we will be able to get the value like so:

`$sandboxFlag = $this->configManager->getProperty('Hammer_PaymentSetup::paypal/wpp/sandbox_flag');`

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.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/7a7fbdffac12b02885bf6376b3277b5622935c9bb5099f126226a7c7cc41efcf?d=identicon)[weidenhammer](/maintainers/weidenhammer)

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

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

---

Top Contributors

[![federivo](https://avatars.githubusercontent.com/u/346356?v=4)](https://github.com/federivo "federivo (12 commits)")[![rsisco](https://avatars.githubusercontent.com/u/21690758?v=4)](https://github.com/rsisco "rsisco (2 commits)")

---

Tags

magento2magento2-extension

### Embed Badge

![Health badge](/badges/hammer-config-manager/health.svg)

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

PHPackages © 2026

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