PHPackages                             lbajsarowicz/module-config-validator - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. lbajsarowicz/module-config-validator

ActiveMagento2-module[Validation &amp; Sanitization](/categories/validation)

lbajsarowicz/module-config-validator
====================================

N/A

1.0.2(1y ago)73.6k↓17.6%GPL-2.0-onlyPHP

Since Mar 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lbajsarowicz/magento2-config-validator)[ Packagist](https://packagist.org/packages/lbajsarowicz/module-config-validator)[ RSS](/packages/lbajsarowicz-module-config-validator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Magento 2 `config.php` validation
=================================

[](#magento-2-configphp-validation)

The module answers one of the most common mistakes made when maintaining Magento 2 projects.

Outdated `config.php` file in the repository leads to serious issues with environment consistency after the deployment.

When your **Deployment Configuration** is not in line with the codebase, exit code is `1` (ERROR)

Installation
------------

[](#installation)

```
composer require lbajsarowicz/module-config-validator
```

Module does not require Magento initialization, so you can install it either as `require` or `require-dev` without any issues.

Usage Examples
--------------

[](#usage-examples)

### CLI

[](#cli)

```
bin/magento setup:config:validate

# There is also verbose version:
bin/magento setup:config:validate -v
# Contents of `config.php` is not up to date
# Modules should be removed from `config.php`: LBajsarowicz_Example
# Modules missing from `config.php`: Magento_Amqp
```

### Github Workflow

[](#github-workflow)

```
name: Pull Request
on: pull_request
jobs:
  # Verify whether Project can be built
  qa:
    name: Pull Request validations
    runs-on: self-hosted
    container:
      image: docker.io/wardenenv/php-fpm:8.2-magento2
    env:
      COMPOSER_AUTH: "${{ secrets.COMPOSER_AUTH }}"
    steps:
      - name: Clone repository to build
        uses: actions/checkout@v4
      - name: Install Composer Dependencies
        run: "composer2 install --no-interaction --no-progress --no-dev --prefer-dist"
      - name: Verify 'config.php'
        run: bin/magento setup:config:validate -v
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance45

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

2

Last Release

431d ago

### Community

Maintainers

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

---

Top Contributors

[![lbajsarowicz](https://avatars.githubusercontent.com/u/1639941?v=4)](https://github.com/lbajsarowicz "lbajsarowicz (5 commits)")

### Embed Badge

![Health badge](/badges/lbajsarowicz-module-config-validator/health.svg)

```
[![Health](https://phpackages.com/badges/lbajsarowicz-module-config-validator/health.svg)](https://phpackages.com/packages/lbajsarowicz-module-config-validator)
```

###  Alternatives

[elgentos/magento2-improved-customer-address-validation

Magento 2 module to disable or adjust customer address field validation such as street, city and telephone

1512.5k](/packages/elgentos-magento2-improved-customer-address-validation)

PHPackages © 2026

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