PHPackages                             proudcommerce/oxid-console-moduleactivator - 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. proudcommerce/oxid-console-moduleactivator

ActiveOxideshop-component

proudcommerce/oxid-console-moduleactivator
==========================================

Activates multiple modules, based on a YAML file.

1.1.2(5y ago)01.8k1GPL-3.0-onlyPHPPHP &gt;=7.1

Since May 16Pushed 3y ago3 watchersCompare

[ Source](https://github.com/proudcommerce/oxid-console-moduleactivator)[ Packagist](https://packagist.org/packages/proudcommerce/oxid-console-moduleactivator)[ Docs](https://github.com/proudcommerce/oxid-console-moduleactivator)[ RSS](/packages/proudcommerce-oxid-console-moduleactivator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

OXID Console Moduleactivator
============================

[](#oxid-console-moduleactivator)

Custom command for the [OXID console](https://docs.oxid-esales.com/developer/en/6.2/development/tell_me_about/console.html).

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

[](#installation)

`composer require proudcommerce/oxid-console-moduleactivator`

Commands
--------

[](#commands)

pc:module:activator
-------------------

[](#pcmoduleactivator)

- Description: Activates multiple modules, based on a YAML file.
- Usage:

`vendor/bin/oe-console pc:module:activator [-s|--skipDeactivation] [-d|--clearModuleData] [--] `

- Example (activate all modules defined in the YAML file basedon a white- or blacklist):

`vendor/bin/oe-console pc:module:activator -s ../modules.yml`

### YML file

[](#yml-file)

```
whitelist:
  1:
    - ocb_cleartmp
    - moduleinternals
    - custommodule1
    #- ddoevisualcms
    #- ddoewysiwyg
  2:
    - ocb_cleartmp
    - custommodule2
priorities:
  1:
    moduleinternals:
        1200
    ocb_cleartmp:
        950
installations:
    - source/modules/myvendor/custommodule1
    - source/modules/myvendor/custommodule2
```

Supports either a **"whitelist"** or a **"blacklist"** entry with multiple shop ids and the desired module ids to activate (whitelist) or to exclude from activation (blacklist).

If you want, you can also specify **a YAML string on the command line instead of a file**, e.g.:

```
oe-console pc:module:activator $'whitelist:
  1:
    - oepaypal
' --shop-id=1
```

### Module priorities

[](#module-priorities)

With **"priorities"**, you can define the order (per subshop) in which the modules will be activated. You can defined priorities per subshop, see example above.

### Installing modules prior to activation

[](#installing-modules-prior-to-activation)

By specifying an **"installations"** array, you can make sure that the modules are really "installed" in the shop (modules can be installed via Composer or by calling e.g. `vendor/bin/oe-console oe:module:install-configuration source/modules/oxcom/ocbcleartmp`). If a module of that list is not yet installed, `oe:module:install-configuration` will be called (please note that you still have to **add the Composer namespace for autoloading** in the main *composer.json* e.g.). So this is an "edge-case", if you add e.g. custom project specific modules directly into the *"source/modules/"* folder and add them manually to the main *composer.json* (so you don't need to have a separate Composer repository for each module):

```
    "autoload": {
        "psr-4": {
            "MyVendor\\CustomModule1\\": "./source/modules/myvendor/custommodule1",
            "MyVendor\\CustomModule2\\": "./source/modules/myvendor/custommodule2"
        }
    }
```

A **better alternative** might be to use the ["wikimedia/composer-merge-plugin"](https://github.com/wikimedia/composer-merge-plugin) plugin, so that your module's *composer.json* will be used directly.

### Arguments

[](#arguments)

**yaml:**

- Name: yaml
- Description: YAML module list filename or YAML string. The file path is relative to the shop "source/" path

### Options:

[](#options)

**skipDeactivation:**

- Name: `--skipDeactivation`
- Shortcut: `-s`
- Accept value: no
- Is value required: no
- Description: Skip deactivation of modules, only activate.
- Default: `false`

**clearModuleData:**

- Name: `--clearModuleData`
- Shortcut: `-d`
- Accept value: no
- Is value required: no
- Description: Clear module data in oxconfig table.
- Default: `false`

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~1 days

Total

6

Last Release

2178d ago

### Community

Maintainers

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

---

Top Contributors

[![tabsl](https://avatars.githubusercontent.com/u/1520658?v=4)](https://github.com/tabsl "tabsl (16 commits)")[![smxsm](https://avatars.githubusercontent.com/u/1737182?v=4)](https://github.com/smxsm "smxsm (5 commits)")[![proudcommerce](https://avatars.githubusercontent.com/u/4111533?v=4)](https://github.com/proudcommerce "proudcommerce (3 commits)")[![Indianer3c](https://avatars.githubusercontent.com/u/496884?v=4)](https://github.com/Indianer3c "Indianer3c (2 commits)")

### Embed Badge

![Health badge](/badges/proudcommerce-oxid-console-moduleactivator/health.svg)

```
[![Health](https://phpackages.com/badges/proudcommerce-oxid-console-moduleactivator/health.svg)](https://phpackages.com/packages/proudcommerce-oxid-console-moduleactivator)
```

PHPackages © 2026

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