PHPackages                             scratcher28/flysystem-mailru-cloud - 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. scratcher28/flysystem-mailru-cloud

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

scratcher28/flysystem-mailru-cloud
==================================

Flysystem Adapter for the mail.ru cloud

v0.0.8(4y ago)1162MITPHPPHP ^7.0|^8.0

Since Aug 19Pushed 4y agoCompare

[ Source](https://github.com/scratcher28/flysystem-mailru-cloud)[ Packagist](https://packagist.org/packages/scratcher28/flysystem-mailru-cloud)[ Docs](https://github.com/freecod/flysystem-mailru-cloud)[ RSS](/packages/scratcher28-flysystem-mailru-cloud/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

Flysystem adapter for the Mail.ru Cloud (mod)
=============================================

[](#flysystem-adapter-for-the-mailru-cloud-mod)

This package contains a [Flysystem](https://flysystem.thephpleague.com/) adapter for Mail.ru Cloud. Under the hood, the [Friday14/mailru-cloud-php](https://github.com/Friday14/mailru-cloud-php) is used.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require freecod/flysystem-mailru-cloud
```

Usage
-----

[](#usage)

This package used unofficial API client for cloud.mail.ru - [Friday14/mailru-cloud-php](https://github.com/Friday14/mailru-cloud-php)

To initialize the client, enter your login (without @domain), domain (mail.ru, list.ru, etc) and password to work with the cloud.

```
use Friday14\Mailru\Cloud;
use Freecod\FlysystemMailRuCloud\MailRuCloudAdapter;

$client = new Cloud('login', 'password', 'mail.ru');

$adapter = new MailRuCloudAdapter($client);

$filesystem = new Filesystem($adapter);
```

Usage in Laravel
----------------

[](#usage-in-laravel)

To used this package as driver for Laravel Storage drive, you must make Service Provider for extend storage drivers

```
