PHPackages                             dummy-team/wp-installer-composer-scripts - 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. dummy-team/wp-installer-composer-scripts

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

dummy-team/wp-installer-composer-scripts
========================================

Composer scripts for dummy-team/wp-installer

v0.4.0(10y ago)0521[1 PRs](https://github.com/dummy-team/wp-installer-composer-scripts/pulls)1MITPHP

Since Sep 20Pushed 10y ago2 watchersCompare

[ Source](https://github.com/dummy-team/wp-installer-composer-scripts)[ Packagist](https://packagist.org/packages/dummy-team/wp-installer-composer-scripts)[ RSS](/packages/dummy-team-wp-installer-composer-scripts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (12)Used By (1)

Wordpress installer - composer scripts
======================================

[](#wordpress-installer---composer-scripts)

Thoses scripts are used in wp-installer package and can be called after composers events (create-project, install and update)

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

[](#installation)

Install [composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) and require this package

```
composer require dummy-team/wp-installer-composer-scripts

```

You have to set some parameters in the *extra* block of your composer.json to allow scripts to access your files

```
  "extra": {
    "dummyteam-parameters": {
      "parameter-file": "web/wp/wp-config-sample.php",
      "destination-folder": "web/"
    }
  }

```

- **parameter-file (required):** the path to the *wp-config-sample.php* file of the default Wordpress install
- **destination-folder (optional):** destination folder for your final *wp-config.php* and *wp-config.php.dist* files

Scripts
-------

[](#scripts)

### Build parameters

[](#build-parameters)

This script build your *wp-config.php* and *wp-config.php.dist*, find all parameters set in the dist file and ask the value required for your local version.

#### How to use it

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

Add those lines to your *composer.json*

```
"scripts": {
    "post-install-cmd": [
        "DummyTeam\\WpInstallerComposerScripts\\Parameters::build"
    ],
    "post-update-cmd": [
        "DummyTeam\\WpInstallerComposerScripts\\Parameters::build"
    ]
}

```

The next time, you'll execute `composer install`, `composer update` or `composer create-project ...` the script will parse your configuration

### Prepare Git

[](#prepare-git)

Add those lines to your *composer.json*

```
"scripts": {
    "post-create-project-cmd": [
        "DummyTeam\\WpInstallerComposerScripts\\Git::build"
    ]
}

```

The next time, you'll execute `composer create-project ...` the script will parse your configuration

### Prepare structure

[](#prepare-structure)

Add those lines to your *composer.json*

```
"scripts": {
    "post-create-project-cmd": [
        "DummyTeam\\WpInstallerComposerScripts\\Structure::build"
    ]
}

```

The next time, you'll execute `composer create-project ...` the script will parse your configuration

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

11

Last Release

3887d ago

### Community

Maintainers

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

---

Top Contributors

[![Gregcop1](https://avatars.githubusercontent.com/u/1257968?v=4)](https://github.com/Gregcop1 "Gregcop1 (40 commits)")

### Embed Badge

![Health badge](/badges/dummy-team-wp-installer-composer-scripts/health.svg)

```
[![Health](https://phpackages.com/badges/dummy-team-wp-installer-composer-scripts/health.svg)](https://phpackages.com/packages/dummy-team-wp-installer-composer-scripts)
```

PHPackages © 2026

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