-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
gotowebpl edited this page Jan 15, 2026
·
1 revision
Before installing ShadowORM, ensure your server meets these requirements:
- PHP: 8.1 or higher
- WordPress: 6.0 or higher
- MySQL: 5.7+ or MariaDB 10.2+
cd wp-content/plugins
git clone https://github.com/gotoweb/shadow-orm.git
cd shadow-orm
composer install- Download the latest release from GitHub Releases
- Extract and upload to
wp-content/plugins/shadow-orm/ - Run
composer installin the plugin directory - Activate the plugin in WordPress Admin
wp plugin install https://github.com/gotoweb/shadow-orm/archive/refs/heads/main.zip --activate
cd wp-content/plugins/shadow-orm
composer installwp shadow statusThis command shows the migration status for all supported post types.
Migrate existing posts to shadow tables:
# Migrate specific post type
wp shadow migrate --type=post
# Migrate all supported types
wp shadow migrate --all
# Preview migration (no changes)
wp shadow migrate --all --dry-runNavigate to Settings → ShadowORM in WordPress Admin to:
- Enable/disable the system
- Toggle shadow tables per post type
- View migration status
During activation, ShadowORM installs:
-
db.php Drop-in: Located in
wp-content/db.php- provides early database interception - MU-Plugin Loader: Ensures ShadowORM loads before other plugins
- Shadow Tables: Created during migration for each enabled post type
When you deactivate ShadowORM:
- The
db.phpdrop-in is removed - The MU-plugin loader is removed
- Shadow tables are preserved (manual cleanup required via WP-CLI)
To completely remove shadow tables:
wp shadow rollback --type=post
wp shadow rollback --type=page
wp shadow rollback --type=productEnsure write permissions for:
-
wp-content/(for db.php drop-in) -
wp-content/mu-plugins/(for MU-plugin loader)
If you see a MySQL version warning, ShadowORM will still work but will use the Legacy driver (lookup tables) instead of native JSON functions.
If composer install fails:
composer clear-cache
composer install --no-dev- Getting Started - Learn basic usage
- Configuration - Customize settings
- WP-CLI Commands - Command reference
High-performance ORM layer for WordPress/WooCommerce
- Home - Overview and features
- Installation - Setup instructions
- Getting Started - Quick start guide
- Configuration - Settings reference
- WP-CLI Commands - Command reference
- Architecture - Technical design
- How It Works - Internal workings
- API Reference - Developer API
- Troubleshooting - Problem solving
- FAQ - Common questions
Links