PHP code example of wyrihaximus / fly-pie

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

    

wyrihaximus / fly-pie example snippets


Plugin::load('WyriHaximus/FlyPie', ['bootstrap' => true]);

/**
 * FlySystem filesystems
 */
'WyriHaximus' => [
    'FlyPie' => [
        's3_thumbnails' => [
            'adapter' => 'Local',
            'vars' => [
                __DIR__, // Path
                'second option',
                'third option',
            ],
        ],
    ],
],

'DebugKit' => [
    'panels' => ['WyriHaximus/FlyPie.Filesystem'],
],

$this->filesystem('s3_thumbnails')->listContents();