Currently My code is
require 'include/vendor/autoload.php';
//Reading data from spreadsheet.
$client = new \Google_Client();
$client->setApplicationName('Google Sheets and PHP');
$client->setDeveloperKey("keysamplecode-Bx8ESgUfhUyQ2TR3yGix0jtFzcE");
$client->setScopes([\Google_Service_Sheets::SPREADSHEETS]);
$client->setAccessType('offline');
$client->setAuthConfig('include/credentials.json');
How to update google spreadsheet without using the vendor folder in ftp. I mean is there any alternative option available to use any api instead of using autoload.php from vendor folder? *Without the first line [ require 'include/vendor/autoload.php'; ]