PHP code example of awakenweb / livedocx4laravel

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

    

awakenweb / livedocx4laravel example snippets


'providers' => [
    ...
    Awakenweb\Livedocx4Laravel\LivedocxServiceProvider::class,
],
...
'aliases' => [
    ...
    'Livedocx' => Awakenweb\Livedocx4Laravel\Facades\Livedocx::class,
],

//to list all templates present on Livedocx service
$tpl = Livedocx::createRemoteTemplate();
return $tpl->listAll();
shell
php artisan config:publish awakenweb/livedocx4laravel