codezone / wp-support
A suite of helpers for making WordPress theme and plugin development easier, including DI container wrappers, dot-notation configuration, and PSR-7 routing integration.
1.2.0
2026-05-29 21:54 UTC
Requires
- php: ^7.4
- guzzlehttp/psr7: ^2.6
- kucrut/vite-for-wp: ^0.8.0
- league/container: 4.*
- league/plates: 3.5
- league/route: ^5.1
Requires (Dev)
README
WordPress Support
A suite of modern framework helpers for making WordPress theme and plugin development easier.
Features
- Dependency Injection: Simple container wrapper and service provider factory.
- Configuration: Dot-notation configuration loader and manager.
- Cache: Wrapper for WordPress transients with scoping.
- Options: Managed WordPress options with defaults and scoping.
- Routing: Integration with
league/routefor custom REST endpoints. - Middleware: Common WordPress-specific middleware (Nonces, Capabilities).
Requirements
- PHP 7.4 or higher (Development uses PHP 8.1+)
- WordPress 5.6 or higher
Installation
composer require codezone/wp-support
Documentation
Full documentation is available at https://thecodezone.github.io/wp-support/.
Development
Setup
composer install
Linting
composer lint
Testing
composer test
Versioning
composer version