brefphp / bref

Serverless PHP on AWS Lambda
https://bref.sh
MIT License
3.09k stars 367 forks source link

Expose the Lambda context in `LAMBDA_INVOCATION_CONTEXT` in the function runtime #1668

Closed mnapoli closed 10 months ago

mnapoli commented 10 months ago

Will solve this issue: https://github.com/brefphp/laravel-bridge/issues/78

cc @jasonmccallister

jasonmccallister commented 10 months ago

That is going to be super helpful, thank you @mnapoli!

peterabarry commented 10 months ago

@mnapoli I am not that familiar with the source code in Bref yet but would that fix also extend to Octane? We moved from FPM to Octane and lost the aws request ids, which we use to build s3 traceable cache?

mnapoli commented 10 months ago

@peterabarry yes it should!