PHPackages                             friday14/cloud-mail-ru - 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. friday14/cloud-mail-ru

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

friday14/cloud-mail-ru
======================

Client for Cloud mail.ru

0.0.1(8y ago)193534[1 issues](https://github.com/Friday14/mailru-cloud-php/issues)PHPPHP &gt;=5.6.4

Since Apr 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Friday14/mailru-cloud-php)[ Packagist](https://packagist.org/packages/friday14/cloud-mail-ru)[ RSS](/packages/friday14-cloud-mail-ru/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Sdk для работы с облаком mail.ru
================================

[](#sdk-для-работы-с-облаком--mailru)

Установка с помощью composer:
-----------------------------

[](#установка-с-помощью-composer)

```
composer require friday14/cloud-mail-ru dev-master
```

Использование
-------------

[](#использование)

```
$cloud = new \Friday14\Mailru\Cloud('yourLogin', 'yourPassword', 'yourDomain');
```

Пример:

```
$cloud = new \Friday14\Mailru\Cloud('friday14', 'password', 'mail.ru');
```

### Методы

[](#методы)

**files($path)** - Получить все файлы из заданного каталога

```
$cloud->files('/cloud-root');
```

**createFile($path, $content)** - Создать файл с заданным контентом

```
$cloud->createFile('/ololo.txt','Hello World');
```

**createFolder($path)** - Создать папку в облаке

```
$cloud->createFolder('/foldername');
```

**delete($path)** - Удалить папку/файл

```
$cloud->delete('/wallaper.jpg');
```

**rename($path, $name)** - Переименновать папку/файл

```
$cloud->rename('/cloud-folder/wallaper.jpg', 'newName.jpg');
```

**upload(SplFileObject $file, $filename = null)** - Uploads your files in Cloud (If you specify a folder in the path that does not exist, it will be created before the download)

```
    $file = new SplFileObject($_SERVER['DOCUMENT_ROOT'] . '/teremok.jpg');
    $cloud->upload($file, '/wallapers/super-teremok.jpg');
```

**download($path, $savePath)** - Загрузить файл.

```
  $cloud->download('/wallapers/super-teremok.jpg', $_SERVER['DOCUMENT_ROOT'] . '/folder/filename.format');
```

**publishFile($path)** - Сделать файл общедоступным

```
  $cloud->publishFile('/wallapers/super-teremok.jpg');
```

**getLink($path)** - Сделать файл общедоступным и получить ссылку на файл

```
  $cloud->getLink('/wallapers/super-teremok.jpg') // return https://cloclo4.cloud.mail.ru/thumb/xw1/wallapers/super-teremok.jpg
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

2933d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03324dcfb69daeeaccbcf3a1548a5c171edaf5302da0446755532e19b9300b06?d=identicon)[Friday14](/maintainers/Friday14)

---

Top Contributors

[![em7v](https://avatars.githubusercontent.com/u/19715579?v=4)](https://github.com/em7v "em7v (10 commits)")

---

Tags

cloudcloud-mailmail-rumailrusdkstoragecloudmailru

### Embed Badge

![Health badge](/badges/friday14-cloud-mail-ru/health.svg)

```
[![Health](https://phpackages.com/badges/friday14-cloud-mail-ru/health.svg)](https://phpackages.com/packages/friday14-cloud-mail-ru)
```

###  Alternatives

[aws/aws-sdk-php

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

6.3k511.3M2.2k](/packages/aws-aws-sdk-php)[google/cloud

Google Cloud Client Library

1.2k16.2M54](/packages/google-cloud)[uploadcare/uploadcare-php

Uploadcare PHP integration handles uploads and further operations with files by wrapping Upload and REST APIs.

1022.5M6](/packages/uploadcare-uploadcare-php)[gliterd/backblaze-b2

PHP SDK for working with backblaze B2 cloud storage.

84263.3k8](/packages/gliterd-backblaze-b2)[cwhite92/b2-sdk-php

A SDK for working with B2 cloud storage.

74146.6k2](/packages/cwhite92-b2-sdk-php)[rsd/seafile-php-sdk

This is a PHP package for accessing Seafile Web API

3589.1k](/packages/rsd-seafile-php-sdk)

PHPackages © 2026

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