- Require PHP>=8.2 and Laravel>=11.x
- Change Google Client namespace
Revolution\Google\Client
. Move tolib/google/
. If you only use "Sheets", there will be little effect. - Remove
Sheets
short Facade alias. Always recommended to use the full namespace.
use Revolution\Google\Sheets\Facades\Sheets;
- Require PHP>=8.0 and Laravel>=8.x
- require
PHP>=7.2
- require
PHP>=7.1.3
and Laravel 5.8
- require
PHP>=7.0
and Laravel 5.5 - Change namespace to
Revolution\Google\Sheets\
. It will auto resolved by Package discovery. - composer.json
"revolution/laravel-google-sheets": "^3.0"
- Remove "repositories" from composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/kawax/google-apiclient"
}
],
- Change composer.json
Bump version
"require": {
"revolution/laravel-google-sheets": "^2.0"
}
Remove
"pulkitjalan/google-apiclient": "^3.0",
- Remove "vendor" dir.
- Remove composer.lock
- Clear composer cache.
composer clear-cache
composer install
- Change config/google.php
'service' => [
/*
| Enable service account auth or not.
*/
'enabled' => false,
/*
| Path to service account json file
*/
'file' => '',
],