PHPackages                             giofreitas/wordpress - 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. giofreitas/wordpress

ActiveMetapackage

giofreitas/wordpress
====================

Just a package that set everything you need to get WordPress running successfully with composer.

5.3.2(6y ago)019MITPHP &gt;=5.4

Since May 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/giofreitas/wordpress)[ Packagist](https://packagist.org/packages/giofreitas/wordpress)[ RSS](/packages/giofreitas-wordpress/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (22)Used By (0)

giofreitas/wordpress
====================

[](#giofreitaswordpress)

This metapackage sets up everything you need to get WordPress running successfully with composer.

[giofreitas/wordpress-composer-setup](https://github.com/giofreitas/wordpress-composer-setup) will create the **wp-config.php** file with the necessary definitions to let WordPress to be suitable with composer. The **wp-config.php** is the only non-core file that surely, will be loaded either in frontend or in admin, so its a good place to setup everything we need.

##### Usage

[](#usage)

To Setup a WordPress installation including wp-config.php, add the following to your package's composer file:

```
"require": {
    "giofreitas/wordpress": "5.2.1"
}

```

You can manually set the site url in extra (do not define if you want it to be dynamic through all environments):

```
"extra": {
    "wordpress-site-url": "localhost"
}

```

We can also make use of some options from [johnpbloch/wordpress-core-installer](https://github.com/johnpbloch/wordpress-core-installer) and [composer/installers](https://github.com/composer/installers) to change some default configurations:

```
"extra": {
    "wordpress-install-dir": "wordpress"
    "installer-paths": {
        "wp-content/themes/{$name}/": ["type:wordpress-theme"],
        "wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
        "wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"]
    }
}

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Recently: every ~0 days

Total

21

Last Release

2310d ago

Major Versions

4.9.9 → 5.0.02019-02-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f4d7b8c99f0e08d8036e7d4c336ca9a830cb7e4a97018e8a926709c2ab0abb9?d=identicon)[giofreitas](/maintainers/giofreitas)

---

Top Contributors

[![giofreitas](https://avatars.githubusercontent.com/u/8867107?v=4)](https://github.com/giofreitas "giofreitas (25 commits)")

---

Tags

composerwordpresswp-config

### Embed Badge

![Health badge](/badges/giofreitas-wordpress/health.svg)

```
[![Health](https://phpackages.com/badges/giofreitas-wordpress/health.svg)](https://phpackages.com/packages/giofreitas-wordpress)
```

###  Alternatives

[wecodemore/wpstarter

Composer plugin to easily build WordPress websites entirely managed via Composer.

253195.2k6](/packages/wecodemore-wpstarter)

PHPackages © 2026

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