2017 © Pedro Peláez
 

metapackage wordpress

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

image

giofreitas/wordpress

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

  • Thursday, May 17, 2018
  • by giofreitas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

giofreitas/wordpress

This metapackage sets up everything you need to get WordPress running successfully with composer., (*1)

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., (*2)

Usage

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

"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):, (*4)

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

We can also make use of some options from johnpbloch/wordpress-core-installer and composer/installers to change some default configurations:, (*5)

"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"]
    }
}

The Versions

17/05 2018

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by Gio Freitas

wordpress composer wp-config

17/05 2018

4.9.6

4.9.6.0

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

  Sources   Download

MIT

The Requires

 

by Gio Freitas

wordpress composer wp-config

12/05 2018

4.9.5

4.9.5.0

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

  Sources   Download

MIT

The Requires

 

by Gio Freitas

wordpress composer wp-config