A lightweight foundation for rapid WordPress plugin development. The framework provides reusable classes for common tasks such as database setup, custom post types, REST API endpoints and more. Build feature rich plugins without rewriting boilerplate every time.
- PHP 7.1+
- WordPress 5.0+
composer install
For production use composer install --no-dev
.
- Update namespaces in
wp-plugin-framework.php
andPlugin/PluginLoader.php
to match your plugin name. - Instantiate any of the engine classes or extend them to add your own logic.
- A lightweight service container now powers
PluginLoader
, keeping class instantiation clean and testable. - Register plugin features inside
PluginLoader
to keep everything organised.
- Settings pages, widgets, metaboxes and shortcodes
- Database migration helpers
- Fluent API integration class
- Cron scheduler wrapper
- REST API controller scaffold
- Simple service container for dependency injection
Pull requests are welcome. For major changes please open an issue first to discuss what you would like to change.
GPL-2.0-or-later. See LICENSE.
See CHANGELOG for release notes.