You can start from the first and get the info about the PHP Laravel with way,
VPS, cPanel,
It's have differnce between this, You went to start from the first :
App running with public/index.php
Composer install
You need to move example.env from and convert to .env and pass correct information.
If app running with npm need to install nodeJS and run command npm install, npm run build...
In first you can run it in port 8000 and ferward the url to this port with nginx.
Need to set this information in config of nginx.
If you have errors or deploy it's not working you can read tihs :
https://learn.microsoft.com/en-us/azure/mysql/flexible-server/tutorial-php-database-app
If have errors right now need to start with:
Need to push to github.
and connect with git action.
and set you Azure information and run deploy.
If it's not working for you, you can create a VM and start to use SSH and deploy with aapanel.
If all things it's not working with you, use this link and going doing step-by-step.
https://coderonfleek.medium.com/hosting-a-laravel-application-on-azure-web-app-b55e12514c46