Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the request context in PHP when using the FPM layer #500

Closed
pl4yradam opened this issue Nov 10, 2019 · 2 comments · Fixed by #542
Closed

Get the request context in PHP when using the FPM layer #500

pl4yradam opened this issue Nov 10, 2019 · 2 comments · Fixed by #542

Comments

@pl4yradam
Copy link
Contributor

pl4yradam commented Nov 10, 2019

Hi guys,

Using lumen with bref and it absolutely works fine - Just wondering how to get the event data passed in like the docs here:
https://bref.sh/docs/runtimes/function.html

Im trying to pull the event out of a Lumen controller but having no luck.

Further testing:
lambda() CAN NOT be used with fpm in place with lumen.

Figured out that the fpm script wasn't catering for it: #501

@mnapoli mnapoli changed the title Using Laravel - How to get the event information? Get the request context in PHP when using the FPM layer Nov 11, 2019
@mnapoli
Copy link
Member

mnapoli commented Nov 11, 2019

Pull request: #501

@kaellis
Copy link

kaellis commented Jan 21, 2020

@mnapoli +1 for this one, we are using your branch for the PR in production and has been working fine, appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants