bref
bref copied to clipboard
Serverless PHP on AWS Lambda
the documentation states implementing this will create a lambda called events and create an eventRule too: ``` functions: # ... events: handler: App\MyHandler events: - eventBridge: pattern: detail-type: - 'MyCustomEvent'...
**Description:** Having Passport installed, and following the instructions described here https://bref.sh/docs/laravel/passport I'm unable to get Passport working, throwing an exception: `Invalid key supplied` Investigation so far: - serverless.yml is updated...
To address #1511 Though, it looks like you'd need to perform some manual action before that, as the layers deployment pipeline is not in Github?
resolves #1619 So that we can see the context of an error in Cloudwatch logs, I have added an `errorLocation` key to the `errorFormatted` data structure. This means that the...
AWS has announced support for response streaming in Lambda. This would reduce TTFB and allow larger response payloads. Blog post: https://aws.amazon.com/blogs/compute/introducing-aws-lambda-response-streaming/ It's also supported for custom runtimes: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html#runtimes-custom-response-streaming Would be...
Right now, Bref's docs/examples/defaults deploy: ```mermaid graph LR; API(API Gateway)-->Lambda(Lambda); ``` For websites, it deploys: ```mermaid graph LR; CloudFront-->API(API Gateway) API-->Lambda(Lambda); ``` **Lambda Function URLs are great to replace API...
In Bref\Event\Http\Psr7Bridge , parseBodyAndUploadedFiles, there is a check that the event method is 'POST' before parsing the body. Should we not also look to parse the body of PUT and...
In the page main/src/pages/docs/use-cases/http/custom-domains.mdx There might be a mistake : If I create the certificate on us-east-1, I can't find it when I create the API Gateway on my app...
Closes #1609
I wonder if Bref could automatically try to gzip the response if it's bigger than the 6MB limit. I gave it a try and at least this approach works for...