wp-alchemist / framework
Runtime helpers for WordPress plugins scaffolded with wp-alchemist: lifecycle, modules, REST routing, Vite assets, migrations, settings and support helpers.
Requires
- php: >=8.1
Requires (Dev)
- brain/monkey: ^2.6
- phpunit/phpunit: ^10.5
- squizlabs/php_codesniffer: ^3.13
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Runtime library for WordPress plugins scaffolded with wp-alchemist: plugin lifecycle, feature modules, REST routes that require a permission, schema-driven settings, migrations, a safe repository layer, Vite asset loading, and string/array helpers.
This repository is a read-only mirror of
packages/frameworkin the wp-alchemist monorepo. Open issues and pull requests there.
Installation
You normally don't install this by hand: npm create wp-alchemist sets it up, with the namespace prefixed by Strauss so plugins using different versions never conflict.
composer require wp-alchemist/framework
Requires PHP 8.1+ and WordPress 6.5+.
Documentation
See the wp-alchemist README and architecture notes.
License
MIT. It can be bundled into plugins under any GPL version, including GPL-2.0-only.