Allow your Symfony 4 application to run within an Openwhisk function. This bundle (including its Symfony Recipe) will give your an Openwhisk front-controller for your Symfony application.
Warning: As this is still in development, this might not be working as expected on your project.
composer req sroze/openwhisk-bundle