Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Runtime documentation

Runtime connects Composer's package layout to WordPress's bootstrap. Composer installs the packages; Runtime creates the files that let WordPress use them. At request time, generated configuration loads environment values and starts WordPress.

The two phases

Setup runs after Composer install/update or when you invoke the standalone binary. It validates configuration, generates files, discovers MU plugins and runs the steps you selected. Project PHP runs in a separate process from Composer.

Requests use the generated wp-config.php and its parser payload. They do not rerun setup. The parser reads environment variables or a prepared dump and defines WordPress constants. Your WordPress plugins and application then start normally.

A practical reading order

  1. Getting started: install the package and boot a site.
  2. Configuration: decide where settings and files belong.
  3. Environment: configure development and production.
  4. Steps and CLI: control setup.
  5. Custom steps and WP-CLI: automate project work.
  6. Deployment: build, verify, publish and roll back a release.
  7. Operations: drift checks, production gates and safe cleanup.
  8. Downloads: maintain URL pins and verify remote artifacts.

Use the settings cheat sheet, constant catalog and troubleshooting guide as references. Existing projects can follow the adoption guide; optional older interfaces are covered in Compatibility.

The examples describe the native profile. Changing a compatibility profile can change defaults and ordering; keep an existing project's profile during migration.