PHP code example of refineddigital / cms-form-builder-google-sheets

1. Go to this page and download the library: Download refineddigital/cms-form-builder-google-sheets 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/ */

    

refineddigital / cms-form-builder-google-sheets example snippets


return [
    'spreadsheet_id' => env('GOOGLE_SHEETS_ID'),
    'api_key'        => env('GOOGLE_API_KEY'),
    'auth_config'    => env('GOOGLE_AUTH_CONFIG'),
    'timestamp'      => true, // fallback only: prepend a UTC timestamp when a form has no saved column config
];