I'm getting an error in php, when I try to include the google api php client as follow:
require_once '\google-api-php-client-master\src\Google\Client.php';
require_once '\google-api-php-client-master\src\Google\Service\youtube.php';
Likewise, I try to include autoload.php file as follow:
require_once '\google-api-php-client-master\src\Google\autoload.php';
But a different error appears:
Fatal error: Uncaught exception 'Exception' with message 'This library must be installed via composer or by downloading the full package. See the instructions at https://github.com/google/google-api-php-client#installation
The codes that I am trying to test appear in the following link:
Https://developers.google.com/youtube/v3/code_samples/php
PD: sorry for my bad english