strider2038/yii2-yandex-disk-tools

This package is abandoned and no longer maintained. No replacement package was suggested.

Useful classes and tools for working with Yandex.Disk

dev-master 2016-12-24 20:57 UTC

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
		]
	]
];