PHP code example of adsytech / google-doc-reader
1. Go to this page and download the library: Download adsytech/google-doc-reader 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/ */
adsytech / google-doc-reader example snippets
use Adsytech\GoogleDocReader\GoogleDocReader;
$result = GoogleDocReader::readFromUrl($googleDocUrl);
$title = $result->title;
$html = $result->html;