Installation
WP Wireframe is a library, not a standalone plugin. Bundle a copy inside your own plugin’s vendor/ folder.
Requirements
Section titled “Requirements”- PHP 8.1+
- WordPress 6.5+
Install
Section titled “Install”Add the GitHub repo to your plugin’s Composer repositories — no Packagist needed:
composer config repositories.tdrayson/wp-wireframe git https://github.com/tdrayson/wp-wireframeOr add it to composer.json by hand:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/tdrayson/wp-wireframe" } ]}Then install:
composer require tdrayson/wp-wireframeAnd require the Composer autoloader from your plugin’s main file:
require_once __DIR__ . '/vendor/autoload.php';Composer resolves the latest tagged release. The compiled JS/CSS bundle ships with the package, so there’s no build step on your side.
- Download the latest release zip and extract it so the folder sits at
your-plugin/vendor/wp-wireframe/. - Require the autoloader from your plugin’s main file:
require_once __DIR__ . '/vendor/wp-wireframe/vendor/autoload.php';No separate plugin to install or activate. Any number of plugins can bundle their own copy; every plugin runs on the newest one — see Multi-plugin setup.
Next steps
Section titled “Next steps”Continue to the Quick Start to wire up a settings page in three small files.