Questions tagged [bref]

Use this tag for questions related to PHP projects deployed with Bref on AWS Lambda.

Bref is a project to help deploy serverless PHP applications on AWS Lambda.

In case of a bug it is better to open an issue on the GitHub project.

35 questions
0
votes
1 answer

PHP Serverless Slim can't execute imagettftext

I intend to use a serverless php function to generate an image with TrueType fonts. In order to do that, I chose bref with Serverless framework and composer. To process the image and include the text, I'm using imagettftext function from gd library.…
Gabriel Ataide
  • 37
  • 1
  • 10
0
votes
3 answers

Serverless with S3 bucket to serve assets

I use Bref (https://bref.sh/). I try to configure the serverless.yml file with AWS S3 in order to store assets like img, css, js. When i deploy with "serverless deploy" command i have this error: An error occurred: AssetsBucketPolicy - API:…
acubens
  • 472
  • 1
  • 8
  • 17
0
votes
1 answer

Serverless PHP slim framework POST does not get posted data

I have been exploring serverless php for and I opted on using slim framework because I find it easier to just plugin modules as I go and that what I am building is just landing pages with a few forms. So I have made the landing pages on slim…
kicc
  • 11
  • 5
-1
votes
1 answer

Are Bref websocket handlers kept alive?

sls documentation says Websockets make it possible to add support for a bi-directional communication channel between clients and servers. Connection channels are kept alive and are re-used to exchange messages back-and-forth. That's great. Looking…
chx
  • 11,270
  • 7
  • 55
  • 129
-1
votes
1 answer

AWS Lambda & Symfony Bref - Deploying Symfony 4 website

I would like deploy my Symfony 4 website thanks to AWS Lambda and Symfony Bref, I followed this docs : https://bref.sh/docs/frameworks/symfony.html https://www.vertcitron.fr/node-lambda-serverless/ but I have this error : My serverless.yaml file…
Valentin Harrang
  • 1,081
  • 2
  • 17
  • 34
1 2
3