PHP code example of laravolt / onlyoffice

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

    

laravolt / onlyoffice example snippets


'onlyoffice' => [
    'onlyoffice_url' => env('ONLYOFFICE_URL'),
    'template_folder_id' => env('TEMPLATE_FOLDER_ID')
]

'features' => [
        ...
        'onlyoffice' => true,
        ...
],

php artisan migrate

php artisan vendor:publsih