brefphp / laravel-bridge

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

Fix support for Laravel 11 #161

Closed mnapoli closed 1 month ago

mnapoli commented 1 month ago

Fix #160

I didn't want to fix that in the service provider because at this point it would get too magical (we can't just ignore the fact that the user could have explicitly configured the database).

Honestly I'm starting to think that we shouldn't change the config magically and instead rely on env variables (in the default serverless.yml template). We can't break BC, but maybe in the next major version we should simplify the bridge 🤷

WDYT?