PHP SDK for the Rapira application server
An SDK for building PHP applications and tooling on top of Rapira. It collects the shared building blocks that frameworks and their Rapira bridges keep re-implementing — PSR-7 request factories, reusable wrappers and helpers, API clients, and testing utilities.
This repository is a development monorepo: it is not published itself. Each building block ships as
its own package under packages/*, split out to a dedicated repository and installed on its own:
| Package | Namespace | What it provides |
|---|---|---|
rapira/http |
Rapira\Sdk\Http |
PSR-7 server-request factories for every Rapira run mode (SAPI and dispatcher). |
rapira/testing |
Rapira\Sdk\Testing |
Provisions the rapira binary for a suite and runs a live rapira serve process around your test cases, so tests exercise the app over a real socket. Ships a Testo adapter. |
Install whichever package you need:
composer require rapira/http
composer require --dev rapira/testingUsage of each package is described in its own README: rapira/http,
rapira/testing.
Issues and pull requests for every package go to this repository; the package mirrors
(rapira-rs/http-php, rapira-rs/testing-php)
are read-only.