PHP code example of namshi / gvalue

1. Go to this page and download the library: Download namshi/gvalue 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/ */

    

namshi / gvalue example snippets




$googleDocKey = '...' //ie. 0Au4X4OwTcvrSdG5oZkFXMXM5SUl4YVF5bDV2NmZiSmc
$gvalue       = new Namshi\Gvalue();

$configuration = $gvalue->getDocument($googleDocKey);

var_dump($configuration); // [a: b, 123: 456, ...]