A modern PHP 8.1+ framework library for building WordPress plugins with consistent patterns and reusable components.
Power Plugins Core provides abstract base classes for:
- Settings Management - Type-safe option getters/setters (string, int, bool, array, datetime, etc.)
- Custom Post Types - Post object wrappers with caching and meta field helpers
- Custom Taxonomies - Term object wrappers with caching and meta field helpers
- Meta Boxes - Simplified meta box creation with nonce verification
- Component System - Base component class for plugin initialization
This library follows PSR-4 autoloading standards and is designed to work seamlessly with Composer-managed WordPress plugins.
This library is currently under active development and should not be used in production.
We are migrating from a monolithic pp-core.php file (v1.14.5) to this modern Composer-based architecture. The API may change significantly as we refactor and improve the codebase.
- ✅ Core classes extracted and namespaced
- 🚧 Utility functions being migrated
- 🚧 Tests being written
- 🚧 Documentation being generated
- 🚧 PHPCS/PHPStan compliance in progress
composer require power-plugins/core:@devNote: Currently only available as a local development package via path repositories.
- PHP 8.1 or higher
- WordPress 5.6 or higher
- Composer 2.0 or higher
MIT License - See LICENSE for details.
Part of the Power Plugins suite by Create Element Ltd.