kinetis / bref-adapter
AWS Lambda (Bref) runtime adapter for Kinetis — polls the Lambda Runtime API and converts API Gateway v2 payloads to/from PSR-7, including multipart/form-data support.
Requires
- php: ^8.4
- kinetis/framework: ^1.6
- nyholm/psr7: ^1.8
- psr/http-message: ^2.0
- riverline/multipart-parser: ^2.1
Requires (Dev)
- infection/infection: ^0.34.2
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^11.0
- vimeo/psalm: ^6.16
README
kinetis/bref-adapter
AWS Lambda (Bref) runtime adapter for Kinetis
Polls the Lambda Runtime API and converts API Gateway v2 payloads to/from
PSR-7, including multipart/form-data support — the one piece Lambda
specifically needs that core's FrankenPhpAdapter/FpmAdapter don't.
There's nothing to configure or call directly: install the package, and
RuntimeDetector picks it up automatically the moment AWS_LAMBDA_RUNTIME_API
is set in the environment, alongside the two adapters that already ship in
core.
composer require kinetis/bref-adapter
Requires PHP 8.4+ and kinetis/framework. See
Runtime Adapters for how
runtime detection works and what changes under Lambda specifically.
License
MIT — see LICENSE.