PHP code example of twistor / flysystem-guzzle

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

    

twistor / flysystem-guzzle example snippets




use GuzzleHttp\Client;
use Twistor\Flysystem\GuzzleAdapter;

$adapter = new GuzzleAdapter('http://example.com');

// Optionally, you can add a configured client.
$client = new Client();
$adapter = new GuzzleAdapter('http://example.com', $client);