Closed Lennix closed 1 year ago
Short version: https://twitter.com/matthieunapoli/status/1641386293748695043
Adding support for more providers like Digital Ocean would definitely be great. However, it isn't something achievable without (financial) support from Digital Ocean. The reason for that is that it would be quite a bit of work to implement and then maintain.
I'm curious, what would you want from bref that isn't provided by DO functions? AWS doesn't have native support for PHP so bref fills that gap.
@aknosis on top of the actual PHP runtimes for Lambda, Bref aims to provide a complete developer experience. Here's what Bref provides on top of just the runtimes:
serverless.yml
)serverless deploy
& related commands)I'm sure I'm forgetting a few details, but that should help get the idea.
framework integrations (Laravel, Symfony) for one-step deployments
Thats a main point for me. I have a monolith written in symfony and I would like to outsource parts of it. DO Functions looked like a good fit, but without being able to easily use my existing stack, its not interesting.
@mnapoli Thanks for the quick response. I understand your reasoning. Maybe DO frees up some budget if they want to push functions adoption.
I also run Symfony on DO. Support for DigitalOcean functions on Bref would be awesome.
Digitalocean has its own PaaS offering called functions. They have a native php 8 runtime making it a great fit for bref.
A function is invoked by running its main method. The method stub is
function main(array $args) : array
So no request->response, just very basic arrays.
Here's the documentation: https://docs.digitalocean.com/products/functions/