PHPackages                             dakword/yandexdisk-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. dakword/yandexdisk-storage

ActiveLibrary[File &amp; Storage](/categories/file-storage)

dakword/yandexdisk-storage
==========================

YandexDisk Storage filesystem for Flysystem

1.3.0(1y ago)123MITPHPPHP ^8.1

Since Aug 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Dakword/yandexdisk-storage)[ Packagist](https://packagist.org/packages/dakword/yandexdisk-storage)[ RSS](/packages/dakword-yandexdisk-storage/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (6)Versions (10)Used By (0)

YandexDisk Storage filesystem for Flysystem
-------------------------------------------

[](#yandexdisk-storage-filesystem-for-flysystem)

### Installation

[](#installation)

```
composer require dakword/yandexdisk-storage
```

### Usage

[](#usage)

```
$config = [
    // option => default
    'visibility' => 'private', // 'public', 'private'
    'retain_visibility' => true,
    'checksum_algo' => 'md5', // 'md5', 'sha256'
];

$client = new Arhitector\Yandex\Disk('oauth-token');
$adapter = new YandexDiskStorageAdapter($client, $prefix = '/', $config);

$yandexDiskStorage = new League\Flysystem\Filesystem($adapter);

try {
    $content = $yandexDiskStorage->read('images/file.jpg');
} catch (FilesystemException | UnableToReadFile $exception) {
    // handle the error
}
```

### Laravel Integration

[](#laravel-integration)

```
Dakword\YandexDiskStorage\YandexDiskServiceProvider::class

// config/filesystems.php
'yandex' => [
    'driver' => 'yandex-disk',
    'token' => env('YANDEX_DISK_OAUTH_TOKEN'),
    'prefix' => env('YANDEX_DISK_BASE_PATH', '/'),
    // option => default
    'visibility' => 'private', // 'public', 'private'
    'retain_visibility' => true,
    'checksum_algo' => 'md5', // 'md5', 'sha256'
],

// Usage
// --------------------------------------
$yandexDiskStorage = Storage::disk('yandex');

// create a file
$yandexDiskStorage->put('images/file.jpg', $imageContents);
// check exists
$exists = $yandexDiskStorage->exists('images/file.jpg');
```

### Links

[](#links)

- [Flysystem](https://flysystem.thephpleague.com/docs/)
- [YandexDisk SDK](https://github.com/jack-theripper/yandex)

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

9

Last Release

717d ago

PHP version history (2 changes)1.0.0PHP ^8.2

1.3.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d7767ebb9d34cc72a528e81d16838c85acc71476cf4c51ae981c6e013454d83?d=identicon)[Dakword](/maintainers/Dakword)

---

Top Contributors

[![Dakword](https://avatars.githubusercontent.com/u/9961503?v=4)](https://github.com/Dakword "Dakword (13 commits)")

---

Tags

diskflysystemlaravelstorageyandexfilesystemFlysystemlaraveladapterstorageyandexyandexdisk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dakword-yandexdisk-storage/health.svg)

```
[![Health](https://phpackages.com/badges/dakword-yandexdisk-storage/health.svg)](https://phpackages.com/packages/dakword-yandexdisk-storage)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k293.8M1.2k](/packages/league-flysystem-aws-s3-v3)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M674](/packages/shopware-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
