estebanforge / hyperpress-core
Core HyperPress runtime library: routing, rendering, assets, admin options, and hypermedia integrations.
1.0.4
2026-03-30 00:38 UTC
Requires
- php: >=8.1
- estebanforge/hyperblocks: ^1.0
- estebanforge/hyperfields: ^1.0
- starfederation/datastar-php: ^1.0
Requires (Dev)
- brain/monkey: ^2
- friendsofphp/php-cs-fixer: ^3.0
- pestphp/pest: ^4
- pestphp/pest-plugin-browser: ^4
- phpunit/phpunit: ^12
README
HyperPress-Core is the runtime Composer library behind HyperPress.
It contains:
- endpoint routing and template rendering (
/wp-html/v1/) - assets/runtime integration for HTMX, Alpine AJAX, and Datastar
- admin options and compatibility layers
- block integration and orchestration with HyperBlocks and HyperFields
Package role
This package is a library, not a WordPress.org plugin entrypoint.
The WordPress plugin adapter lives in src/app/plugins/api-for-htmx/ and loads this library from Composer.
Installation
composer require estebanforge/hyperpress-core
If your project loads Composer autoload (vendor/autoload.php), HyperPress-Core bootstrap is loaded automatically via Composer autoload.files.
Dependencies
- PHP >= 8.1
estebanforge/hyperfieldsestebanforge/hyperblocksstarfederation/datastar-php
Development
Run tests with Pest v4:
composer run test
composer run test:unit
composer run test:integration
composer run test:feature
Coverage:
composer run test:coverage composer run test:summary composer run test:clover
Docs
Technical docs for runtime behavior live in docs/.
License
GPL-2.0-or-later