PHP code example of eng-mahmoud-elgml / google-integration

1. Go to this page and download the library: Download eng-mahmoud-elgml/google-integration library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

eng-mahmoud-elgml / google-integration example snippets

 
$spreadSheetObject->read('Sheet1','A1:B2');

$spreadSheetObject->updateCells('Sheet1',[
    'A1'=>'value1',
    'B1'=>'value2',
    'A2'=>'value3',
    'B2'=>'value4',
]);

$spreadSheetObject->override('Sheet1',[
    ['value1','value2'],
    ['value3','value4'],
]);