Skip to content

create-element/pp-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Power Plugins Core

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.

⚠️ Development Status

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

Installation

composer require power-plugins/core:@dev

Note: Currently only available as a local development package via path repositories.

Requirements

  • PHP 8.1 or higher
  • WordPress 5.6 or higher
  • Composer 2.0 or higher

License

MIT License - See LICENSE for details.

About

Part of the Power Plugins suite by Create Element Ltd.

About

WordPress Power Plugins core library functions.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages