Upload files from my website directly to Onedrive for business account via php

  cloud, onedrive, php

Recently I was given access to an Onedrive for business account which provides me with 1 TB of cloud storage, currently my hosting service only offers me 50GB of storage so Onedrive has 2000% that. I want myself and my users to be able to upload files directly to it instead of the website’s server, pictures, videos and what not.

I know it is possible and I’m aware there’s documentation about the Onedrive’s api, but it’s all over the place, I don’t even know where to begin, could you please gime a little guidance?

If you could give me some documentation in an orderly fashion (start here, then here, then here) or a working example in PHP I think I can manage on my own. I spent hours looking into all documentation but while it is said that the api could work via PHP I haven’t found a single PHP line anywhere.

Source: Ask PHP