PHP code example of pinweb / readit
1. Go to this page and download the library: Download pinweb/readit 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/ */
pinweb / readit example snippets
return [
'reader' => env('READER_URL', 'http://read.dev.pinweb.io'),
'key' => env('READER_KEY', '')
];
$url = Readit::create('http://www.example.com/test.pdf');
$url = readit('http://www.example.com/test.pdf');
bash
php artisan vendor:publish --tag="readit-config"