Download the PHP package wp-spaghetti/wp-boot without Composer
On this page you can find all versions of the php package wp-spaghetti/wp-boot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wp-spaghetti/wp-boot
More information about wp-spaghetti/wp-boot
Files in wp-spaghetti/wp-boot
Package wp-boot
Short Description WP Boot is a lightweight Composer-based WordPress management system
License GPL-3.0-or-later
Informations about the package wp-boot
WP Boot
WP Boot is a lightweight Composer-based WordPress management system designed for scenarios where you need to manage an existing WordPress installation without restructuring its directory layout.
Requirements
- PHP >= 8.1
- Composer
- rsync - Used to sync WordPress core files from vendor to public directory
Why WP Boot?
While robust solutions like Bedrock, WP Starter, and Wordplate offer excellent WordPress management through Composer, they typically require significant structural changes to the WordPress directory layout.
WP Boot was created for situations where:
- You're working with an existing WordPress installation that cannot be heavily modified
- You need to version control an already-deployed WordPress site
- You want to dockerize a traditional WordPress setup without restructuring
- You need a quick, minimal-impact solution for dependency management
How It Works
WP Boot uses rsync to synchronize WordPress core files from the Composer vendor directory to your public directory, keeping the standard WordPress structure intact.
It only modifies the wp-config.php file, adding a simple bootstrap block:
This approach allows you to:
- Manage WordPress core, plugins, and themes via Composer
- Use environment variables for configuration (
.envfiles) - Keep the standard WordPress directory structure intact
Installation
Note: During composer create-project, WordPress core will be downloaded to vendor/wordpress/, but files will not be synced to your public/ directory until you set WP_BOOT_SYNC_ENABLED=true in your .env file.
This gives you time to:
- Review and configure your
.envfile - Verify the target
public/directory exists and is correct - Decide when to sync WordPress files
Once configured, run:
This will trigger the sync script and copy WordPress core files to ../../public/.
Then add the bootstrap block to your wp-config.php file (see "How It Works" section above).
Directory Structure
After installation, your project structure will look like this:
The post-cmd.sh script automatically syncs WordPress core files from private/wp-boot/vendor/wordpress/ to public/ after every composer install or composer update.
Optional: Installing Language Packs
WP Boot includes WP Translation Downloader, a Composer plugin that automatically downloads translations from the WordPress.org API for all installed WordPress packages (core, plugins, and themes).
1. Add your desired languages to composer.json:
In the extra.wp-translation-downloader.languages array, add the locale codes you need:
Then run composer update — translations will be automatically downloaded to public/wp-content/languages/.
2. Configure WordPress to use the language in .env:
For more information: https://github.com/inpsyde/wp-translation-downloader
Optional: Disallow Search Engine Indexing in Non-Production
WordPress 5.5+ includes native environment detection via WP_ENVIRONMENT_TYPE. Wp-boot automatically sets this based on your WP_ENV value in .env.
To prevent search engines from indexing staging/development sites, create this file:
public/wp-content/mu-plugins/disallow-indexing.php
This automatically sets "Discourage search engines" in Settings → Reading for non-production environments.
When NOT to Use WP Boot
For new projects or when you have full control over the infrastructure, consider these more robust alternatives:
- Bedrock - Modern WordPress stack with improved folder structure
- WP Starter - Composer-based WordPress setup with flexible configuration
- Wordplate - Modern WordPress stack with Laravel-inspired structure
- WordPress Project - Minimal Composer-based WordPress installer
- WP Bootstrap - Utils for bootstrapping a WordPress installation
References
- Research: Bedrock vs WP Starter
- Installing WordPress via Composer
- Installing WordPress in separate directory via Composer
- Gist by gemmadlou
Changelog
Please see CHANGELOG for a detailed list of changes for each release.
We follow Semantic Versioning and use Conventional Commits to automatically generate our changelog.
Release Process
- Major versions (1.0.0 → 2.0.0): Breaking changes
- Minor versions (1.0.0 → 1.1.0): New features, backward compatible
- Patch versions (1.0.0 → 1.0.1): Bug fixes, backward compatible
All releases are automatically created when changes are pushed to the main branch, based on commit message conventions.
Contributing
For your contributions please use:
See CONTRIBUTING for detailed guidelines.
Sponsor
License
All versions of wp-boot with dependencies
composer/installers Version ^2.2
inpsyde/wp-translation-downloader Version ^2.6
johnpbloch/wordpress Version 6.9.4
oscarotero/env Version ^2.1
vlucas/phpdotenv Version ^5.5
