PHP code example of engineor / flysystem-runabove

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

    

engineor / flysystem-runabove example snippets


use Engineor\Flysystem\Runabove;
use Engineor\Flysystem\RunaboveAdapter as Adapter;
use League\Flysystem\Filesystem;

$client = new Runabove([
   'username'  => ':username',
   'password'  => ':password',
   'tenantId'  => ':tenantId',
]);

$store = $client->objectStoreService('swift', 'SBG1');
$container = $store->getContainer('flysystem');

$filesystem = new Filesystem(new Adapter($container));

use Engineor\Flysystem\Runabove;
use Engineor\Flysystem\RunaboveAdapter as Adapter;
use League\Flysystem\Filesystem;

$options = [
    'username'  => ':username',
    'password'  => ':password',
    'tenantId'  => ':tenantId',
    'container' => 'flysystem',
    'region'    => 'SBG1',
];

$client = new Runabove($options);

$filesystem = new Filesystem(new Adapter($client->getContainer()));