alleyinteractive / wp-type-extensions
PHP interfaces and implementations for WordPress.
Installs: 33 912
Dependents: 4
Suggesters: 0
Security: 0
Stars: 2
Watchers: 20
Forks: 2
Open Issues: 4
Requires
- php: ^8.2
- alleyinteractive/laminas-validator-extensions: ^2.0
- alleyinteractive/wp-match-blocks: ^3.0
- alleyinteractive/wp-plugin-loader: ^0.1.5
- spatie/once: ^3.1
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-06 18:28:29 UTC
README
Type Extensions provides a vocabulary of objects for WordPress projects in the form of interfaces representing those objects and implementations of those interfaces.
The library is oriented toward a declarative style of development that makes use of object composition, in particular the decorator pattern.
Installation
Install the latest version with:
composer require alleyinteractive/wp-type-extensions
Basic usage
Learn more about the objects included with Type Extensions in the documentation for each type.