strider2038 / yii2-yandex-disk-tools
Useful classes and tools for working with Yandex.Disk
Installs: 56
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
This package is auto-updated.
Last update: 2022-02-01 13:04:03 UTC
README
Useful classes and tools for working with Yandex.Disk
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist strider2038/yii2-yandex-disk-tools "dev-master"
or add
"strider2038/yii2-yandex-disk-tools": "dev-master"
to the require section of your composer.json
file.
Usage
strider2038\yandexDiskTools\Client
This is a simple wrapper class for original Yandex\Disk\DiskClient. To use it put this in your config.
<?php return [ // ... 'components' => [ // ... 'yadisk' => [ 'class' => '\strider2038\yandexDiskTools\Client', 'token' => '', // you access token for Yandex API ] ] ];