PHP code example of pecherskiy-v / yandex-php-library

1. Go to this page and download the library: Download pecherskiy-v/yandex-php-library 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/ */

    

pecherskiy-v / yandex-php-library example snippets



//Подключаем autoload.php из phar-архива
анавливаем полученный токен
$disk->setAccessToken(TOKEN);

//Получаем список файлов из директории
$files = $disk->directoryContents();
yaml
{
    "ixsolutions/yandex-php-library": "dev-master"
    }
}