Download the PHP package dummy-team/wp-installer-composer-scripts without Composer
On this page you can find all versions of the php package dummy-team/wp-installer-composer-scripts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dummy-team/wp-installer-composer-scripts
More information about dummy-team/wp-installer-composer-scripts
Files in dummy-team/wp-installer-composer-scripts
Package wp-installer-composer-scripts
Short Description Composer scripts for dummy-team/wp-installer
License MIT
Informations about the package wp-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
Install composer and require this package
You have to set some parameters in the extra block of your composer.json to allow scripts to access your files
- 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
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
Add those lines to your composer.json
The next time, you'll execute composer install
, composer update
or composer create-project ...
the script will parse your configuration
Prepare Git
Add those lines to your composer.json
The next time, you'll execute composer create-project ...
the script will parse your configuration
Prepare structure
Add those lines to your composer.json
The next time, you'll execute composer create-project ...
the script will parse your configuration