bref
bref copied to clipboard
Serverless PHP on AWS Lambda
**Description:** Our API can return JSON, HTML or PDF content. We follow the documentation and make BREF_BINARY_RESPONSES to 1 and apiGateway configuration to */* We don't want our lambda handle...
Hello @mnapoli! Good job with the whole Bref.sh thing! 👍 I am working at this moment on Bref's integration into the ZEIT Now (https://zeit.co/now). It was really "easy" to provide...
Hello all, Since the new releases I'm encoutering issues with loading the environment variables, specifically with Symfony Dotenv. By following this guide: https://bref.sh/docs/frameworks/symfony.html The Lambda gives us the following errors:...
From [Bref/Storage/Pre-generating the cache](https://bref.sh/docs/environment/storage.html#pre-generating-the-cache): > ### Pre-generating the cache > > Some frameworks allow to pre-generate some caches. For example in Symfony the container can be compiled via `bin/console cache:warmup`,...
While deploying an app I noticed that Symfony router doesn't take into account schema and port of the current request in the URLs generation. This is due to the fact...
Just discovered when checking the documentation of `ForwardedValues` that this field has been deprecated: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ForwardedValues.html It's currently used in some place like https://github.com/brefphp/bref/blob/master/docs/websites.md (https://bref.sh/docs/websites.html). We should be using CachePolicy now...
I currently have to configure binary responses like described here: https://bref.sh/docs/runtimes/http.html#binary-requests-and-responses I'm using the http api and it does not need the apiGateway configuration, the `isBase64Encoded` option, that the bref...
When configure Lambda's memory I naively thought that is the amount of memory PHP will use. I forgot about `memory_limit` in php.ini. Correct me if Im wrong. But PHP-FPM will...
Run the Bref Dashboard in a project: ```php vendor/bin/bref dashboard ``` If you have any questions or feedback regarding the Bref Dashboard, please write a comment here :)
Hi, I just notice something in the doc that maybe we could improve. The Symfony guide says [nothing specific for the deployment part](https://github.com/brefphp/bref/blame/7afd26ef4f64f60bb498c438da8f7ddc706baae8/docs/frameworks/symfony.md#L83-L85), and so [suggest doing`composer install --prefer-dist --optimize-autoloader...