axelpal / phpbu-yandex-disk
phpbu Yandex.Disk implementation
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/axelpal/phpbu-yandex-disk
Requires
- arhitector/yandex: dev-master
- phpbu/phpbu: ^3.1
This package is auto-updated.
Last update: 2025-10-05 03:05:46 UTC
README
Installation
To install this extension to phpbu, run this:
composer create-project axelpal/phpbu-yandex-disk
Navigate to phpbu-yandex-disk folder:
cd phpbu-yandex-disk
Usage
For running phpbu with Yandex.Disk support, you should run command:
vendor/bin/phpbu --bootstrap=extend.php
For using Yandex.Disk as Sync, add these lines to your phpbu.xml:
... <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.
Getting API Token key:
Goto https://oauth.yandex.ru/client/new create your app
- Check all Disks permissions
- generate access token:
-
Goto https://oauth.yandex.ru/authorize?response_type=token&client_id=APP_ID (replace APP_ID with ID giving to you)
-
Then you should get token parameter from GET-parameters of opened page
Other documentation you can find in: