kinetis/roadrunner-adapter

RoadRunner runtime adapter for Kinetis — speaks the PSR7Worker/Goridge protocol and converts to/from PSR-7, including multipart/form-data support.

Maintainers

Package info

github.com/kinetis-dev/roadrunner-adapter

pkg:composer/kinetis/roadrunner-adapter

Transparency log

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-08-23 14:07 UTC

This package is auto-updated.

Last update: 2026-08-23 14:22:46 UTC


README

Kinetis

kinetis/roadrunner-adapter
RoadRunner runtime adapter for Kinetis

Packagist Version Packagist Downloads PHP Version License CI

Speaks RoadRunner's own Goridge/PSR7Worker protocol — a persistent worker loop, structurally the closest of Kinetis's four runtime adapters to FrankenPhpAdapter's, but built on RoadRunner's own PHP worker library rather than a raw request-handling function. Converts to/from PSR-7, including multipart/form-data/application/x-www-form-urlencoded support parsed in userland — the same shape kinetis/bref-adapter needs for the identical reason: a request body here is one in-memory string with no live php://input behind it.

There's nothing to configure or call directly: install the package, and RuntimeDetector picks it up automatically the moment RR_MODE=http is set in the environment — RoadRunner's own rr serve sets this itself when it spawns the worker.

composer require kinetis/roadrunner-adapter

Two RoadRunner configuration settings are required, not optional — http.raw_body: true, and http.max_request_size to actually bound how large a form body can grow before this adapter parses it (there's no SAPI here to enforce post_max_size, and RoadRunner's own default is a generous 1000 MB):

http:
  address: 0.0.0.0:8080
  raw_body: true
  max_request_size: 10

max_request_size is a separate ceiling from MAX_BODY_SIZE (Kinetis's own env var, default 2 MiB) — the two don't automatically agree; set MAX_BODY_SIZE=10485760 alongside max_request_size: 10 above if you want one consistent limit.

Requires PHP 8.4+ and kinetis/framework. See Runtime Adapters for the full reasoning — why raw_body: true and max_request_size matter, what's mapped and how, and the two disclosed, environment-caused conformance gaps (a purely-numeric header name; occasional cookie reordering) that are upstream RoadRunner behavior, not something this package's own code can recover from.

License

MIT — see LICENSE.