brefphp / laravel-bridge

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

Compatibility with Octane 2.x #132

Open natanparmigianoreis opened 8 months ago

natanparmigianoreis commented 8 months ago

Currrently the package is marked as compatible with octane 1.2 explicitly, which makes any Laravel 10.x (which is only compatible with octane 2.x) instalation fall back to bref/laravel-bridge:^1.2 , since that is the last version that does not include the octane requirement in its dependencies.

If nothing "breaks" with the new octane version, it should be a simple version bump.

natanparmigianoreis commented 8 months ago

Just forked the package and tried it out on a relatively simple application and it seems a simple version bump caused no immediately obvious issues, it surely needs more through testing but right now it seems that it works alright.

https://github.com/natanparmigianoreis/laravel-bridge/blob/master/composer.json

mnapoli commented 8 months ago

That's awesome, thanks for testing. Would you be able to send a pull request?