Mantle installs like any other WordPress plugin. A packaged release ships with its autoloader already built; a source checkout needs Composer.
Choose an installation method
Installation methods
-
Release zipstring -
Upload through Plugins → Add New → Upload Plugin. The zip already contains
vendor/, so no build step is required. -
Source checkoutstring -
Clone the repository into
wp-content/plugins/and runcomposer install. Required for development. -
Must-use pluginstring -
Place the plugin directory in
wp-content/mu-plugins/for site-wide activation that cannot be switched off from the Plugins screen.
No fields match this filter.
Install from a release zip
- Download the release zip from the Releases page.
- In WordPress admin, go to Plugins → Add New → Upload Plugin.
- Upload the zip and choose Install Now, then Activate.
Activation redirects the activating user to the setup wizard. See First run.
Install from source
A source checkout has no vendor/ directory, so the Composer autoloader must be built before the plugin can boot.
cd wp-content/plugins
git clone https://github.com/linchpin/mantle.git
cd mantle
composer installIf composer install has not run, Mantle cannot find \\Mantle\\Core\\Bootstrap and shows an admin notice instead of booting:
The plugin renders this admin notice when includes/Core/Bootstrap.php cannot be loaded. Reinstall the plugin, or run composer install in the plugin directory if you are working from a source checkout.
Build the admin interface
The React admin dashboard is compiled into build/. A release zip ships with build/ already populated; a source checkout does not.
npm installnpm run build
npm installnpm run start
Install as a must-use plugin
Place the whole plugin directory in wp-content/mu-plugins/. WordPress does not auto-load plugins from subdirectories of mu-plugins/, so add a loader file alongside it:
<?php/** * Load Mantle from the mu-plugins subdirectory. */require_once WPMU_PLUGIN_DIR . '/mantle/mantle.php';
Verify the installation
Confirm the plugin is active and its settings schema is intact.
wp plugin list --name=mantle --field=status
wp mantle settings auditactive
Option: mantle
Schema keys: 102
Saved keys: 102
Missing schema keys: 0
Orphaned saved keys: 0
Success: Settings audit passed. Saved keys match the registered schema.
The key count reflects the schema registered by whichever modules are present, so it grows if you add modules that register their own settings. What matters is that Missing schema keys and Orphaned saved keys are both 0. See wp mantle settings audit for the flags that repair a mismatch.
Next steps
- Configuration — the constants Mantle reads at boot.
- First run — the setup wizard and enabling modules.