As you can see in the link to install Google Photos Api, you need to use composer.
I tried to use composer locally in my computer then put the vendor folder in htdocs. But when I include autoload.php, it always throw errors.
How should I install this API in my website? Please.