Upload to Azure Storage with PHP

I had the wonderful task to change a 20 year old PHP software during a Lift-and-Shift migration to Azure, so that it doesn't store files directly in .....