2017 © Pedro Peláez
 

library phpbu-yandex-disk

phpbu Yandex.Disk implementation

image

axelpal/phpbu-yandex-disk

phpbu Yandex.Disk implementation

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 11 % Grown

The README.md

PHPBU with Yandex.Disk support

Installation

To install this extension to phpbu, run this:, (*1)

composer create-project axelpal/phpbu-yandex-disk

Navigate to phpbu-yandex-disk folder:, (*2)

cd phpbu-yandex-disk    

Usage

For running phpbu with Yandex.Disk support, you should run command:, (*3)

vendor/bin/phpbu --bootstrap=extend.php

For using Yandex.Disk as Sync, add these lines to your phpbu.xml:, (*4)

    ...
  <sync type="yandex.disk">
      <option name="token" value="YANDEX_API_TOKEN"/>
      <option name="path" value="YANDEX_DISK_PATH"/>
  </sync>
    ...

Example of configuration you can find in phpbu.xml_example in this repo., (*5)

Getting API Token key:, (*6)

Goto https://oauth.yandex.ru/client/new create your app - Check all Disks permissions - generate access token:, (*7)

1) Goto https://oauth.yandex.ru/authorize?response_type=token&client_id=APP_ID (replace APP_ID with ID giving to you), (*8)

2) Then you should get token parameter from GET-parameters of opened page, (*9)

Other documentation you can find in: * phpbu repo * Yandex.Disk API repo, (*10)

The Versions

14/04 2016

dev-master

9999999-dev

phpbu Yandex.Disk implementation

  Sources   Download

MIT

The Requires

 

31/03 2016

1.0

1.0.0.0

phpbu Yandex.Disk implementation

  Sources   Download

MIT

The Requires