PHP code example of biigle / laravel-elements-storage

1. Go to this page and download the library: Download biigle/laravel-elements-storage 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/ */

    

biigle / laravel-elements-storage example snippets


Biigle\Filesystem\ElementsServiceProvider::class,

$app->register(Biigle\Filesystem\ElementsServiceProvider::class);

'disks' => [
   'elements' => [
      'driver' => 'elements',
      'baseUri' => env('ELEMENTS_BASE_URL', ''), // e.g. https://elements.example.com
      'token' => env('ELEMENTS_API_TOKEN', ''), // e.g. my-elements-api-token
   ],
]