syntatis / codex
Helpers, facades, and service container for WordPress® extensions
Installs: 6 497
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 0
Forks: 1
Open Issues: 0
Requires
- php: ^7.4 || ^8.0
- adbario/php-dot-notation: ^3.3
- pimple/pimple: ^3.5
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- phpcompatibility/php-compatibility: ^9.3
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^9.6
- roots/wordpress: ^6.8
- symfony/var-dumper: ^5.4
- syntatis/coding-standard: ^2.0
- szepeviktor/phpstan-wordpress: ^2.0
- wp-phpunit/wp-phpunit: ^6.8
- yoast/phpunit-polyfills: ^4.0
This package is auto-updated.
Last update: 2025-08-03 05:00:46 UTC
README
Caution
This project is still in development and currently tagged as v0.*
, which means it's not stable yet and may include breaking changes between versions. I keep working toward a stable release, but until then, things may change as we improve the project. Thanks for your interest and feel free to explore, test, or contribute!
Why?
WordPress is a powerful platform, but while PHP has evolved over the years, WordPress development has largely stayed the same. Modern PHP practices like Autoloading with Composer and Dependency Injection aren't commonly used when building extensions for WordPress. It has caused some gaps between WordPress and the rest of the PHP ecosystem.
This project aims to close the gap by providing functions, classes, and structure as the foundation to build extensions for WordPress with a slightly modern PHP approach.
Providers
- 🧪 🎛
codex-settings-provider
: WordPress® Settings API service provider
Inspiration
This project is inspired by the following awesome projects in the PHP ecosystem: