google/apiclient
Official Google APIs Client Library for PHP. Access services like Gmail, Drive, and YouTube from your server. Supports PHP 8+. In maintenance mode (critical fixes/security only). Install via Composer: google/apiclient.
This page contains information about installing the Google APIs Client Library for PHP.
There are two options for obtaining the files for the client library.
You can install the library by adding it as a dependency to your composer.json.
"require": {
"google/apiclient": "^2.0"
}
Follow the instructions in the README to download the package locally.
After obtaining the files, include the autoloader. If you used Composer, your require statement will look like this:
require_once '/path/to/your-project/vendor/autoload.php';
If you downloaded the package separately, your require statement will look like this:
require_once '/path/to/google-api-php-client/vendor/autoload.php';
How can I help you explore Laravel packages today?