You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bref: idiomatic layer layout + Lambda deploy example & docs
Align the Lambda artifacts with Bref's own convention (as used by
brefphp/extra-php-extensions) so a release drops in like any other Bref
extension and the same binary works for both layer and Docker deploys:
- Layer zip now ships bref/extensions/quickjs.so (Bref's extension_dir) and
bref/etc/php/conf.d/ext-quickjs.ini with a bare `extension=quickjs.so`,
instead of an /opt/php-quickjs/*.so with an absolute path.
- Add examples/lambda/ — a runnable skeleton: a Bref function handler that
runs a TS guest, a Dockerfile (FROM bref/php-84:3, copies the .so into
/opt/bref/extensions), and a serverless.yml covering both the container
image and the layer route.
- Expand docs/install.md's AWS Lambda section to document all three paths
(Docker image, Lambda layer, vendored .so) and how Bref loads extensions.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R3vgA3Q6PR9VQn8X5pLcMR
0 commit comments