brefphp / laravel-bridge

Package to use Laravel on AWS Lambda with Bref
https://bref.sh/docs/frameworks/laravel.html
MIT License
319 stars 63 forks source link

Improve the default `serverless.yml` config #100

Closed mnapoli closed 1 year ago

mnapoli commented 1 year ago

I am updating the Laravel examples in https://github.com/brefphp/examples and the default serverless.yml file was missing a few things.

aran112000 commented 1 year ago

WDYT about merging some of the component parts from here too? https://github.com/brefphp/laravel-bridge/blob/master/examples/getting-started/serverless.yml

It's perhaps overkill to be the default, but I'd love to see a fleshed-out serverless.yml that uses Lift's constructs for SQS, Server-side website, Octane (perhaps a comment/uncomment option for the web function)...?

tillkruss commented 1 year ago

That's the plan, but as an example stub, not the default. Feel free to open a PR! 🤗