PHPackages                             szwtdl/icloud - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. szwtdl/icloud

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

szwtdl/icloud
=============

apple icloud sdk

2.0.5(3y ago)4731[1 issues](https://github.com/szwtdl/icloud/issues)MITPHPPHP &gt;=8.0

Since Aug 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/szwtdl/icloud)[ Packagist](https://packagist.org/packages/szwtdl/icloud)[ RSS](/packages/szwtdl-icloud/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (13)Used By (0)

Apple icloud sdk v2
===================

[](#apple-icloud-sdk-v2)

[![Build Status](https://github.com/szwtdl/icloud/actions/workflows/test.yml/badge.svg)](https://github.com/szwtdl/icloud/actions)[![Latest Stable Version](https://camo.githubusercontent.com/fde1a11d6651767979e37fcbea9e67d3b7e3c3d67795477cd1d234679916105b/68747470733a2f2f706f7365722e707567782e6f72672f737a7774646c2f69636c6f75642f762f737461626c65)](https://packagist.org/packages/szwtdl/icloud)[![Total Downloads](https://camo.githubusercontent.com/f6ee8b5d41db3ac1cfbd5e32c50691db6394e89b7855d1a4c3cbc6053f01b63c/68747470733a2f2f706f7365722e707567782e6f72672f737a7774646c2f69636c6f75642f646f776e6c6f616473)](https://packagist.org/packages/szwtdl/icloud)[![Latest Unstable Version](https://camo.githubusercontent.com/5e775f7f9a1c0f0ef2577c1501c97089ffc6ff3afc8fd2c6611e3ae6b31575e7/68747470733a2f2f706f7365722e707567782e6f72672f737a7774646c2f69636c6f75642f762f756e737461626c65)](https://packagist.org/packages/szwtdl/icloud)[![License](https://camo.githubusercontent.com/b5ce1f6bc01006a1cbf765b255055ca899327466e6f3c466f9eaee552a39a43c/68747470733a2f2f706f7365722e707567782e6f72672f737a7774646c2f69636c6f75642f6c6963656e7365)](https://packagist.org/packages/szwtdl/icloud)[![Monthly Downloads](https://camo.githubusercontent.com/b281b493f74363e9be18fa72bd770bbb029bd511239d3b3845a290437b475222/68747470733a2f2f706f7365722e707567782e6f72672f737a7774646c2f69636c6f75642f642f6d6f6e74686c79)](https://packagist.org/packages/szwtdl/icloud)

### Cloud v2 版本和v1版本没法共同使用

[](#cloud-v2-版本和v1版本没法共同使用)

```
use Cloud\Application;
$options = [
    'client_id' => 'demo',
    'client_key' => md5('demo'),
    'options' => [
        'base_uri' => 'http://localhost:8080',
    ],
];
$application = new Application($options);
```

### laravel

[](#laravel)

`config/services.php`

```
'icloud' = [
    'client_id' = 'app_id',
    'client_key' = 'app_key',
    'domain' = 'https://icloud.test.com' #授权域名
];
```

```
$application = app('icloud')->login('xxx@gmail.com',12345678);
```

### 登录账号

[](#登录账号)

```
$application->login("demo@gmail.net", "demo123","device_id")
```

### 二步验证

[](#二步验证)

```
$application->verify("demo@gmail.net", "demo123","888888","device_id");
```

### 下载数据

[](#下载数据)

```
$application->download("demo@gmail.net", "demo123");
```

### 重置session

[](#重置session)

```
$application->reset("demo@gmail.net");
```

### 账号数据

[](#账号数据)

```
$application->account("demo@gmail.net");
```

### 联系人

[](#联系人)

```
$application->contact("demo@gmail.net",1,20);
```

### 相册列表

[](#相册列表)

```
$application->albums("demo@gmail.net",1,20);
```

### 文件数据

[](#文件数据)

```
$application->files("demo@gmail.net",1,20);
```

### 定位列表

[](#定位列表)

```
$application->location("demo@gmail.net",1,20);
```

### 日历列表

[](#日历列表)

```
$application->calendar("demo@gmail.net");
```

### 提醒事项

[](#提醒事项)

```
$application->reminders("demo@gmail.net");
```

### 备注

[](#备注)

```
$application->reminders("demo@gmail.net");
```

### 短信列表

[](#短信列表)

```
$application->TextMessages("demo@gmail.net");
```

### 单个用户的短信列表

[](#单个用户的短信列表)

```
$application->TextMessage($username, '+447563696391');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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 ~5 days

Total

12

Last Release

1298d ago

Major Versions

v1.0.31 → v2.0.02022-09-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/f32de7c4cbc21d8a95efcdcaec3e2cbffeffd80c9de0232c6a3a3dcd3aa3f55b?d=identicon)[szwtdl](/maintainers/szwtdl)

---

Top Contributors

[![szwtdl](https://avatars.githubusercontent.com/u/13212946?v=4)](https://github.com/szwtdl "szwtdl (42 commits)")

---

Tags

icloudlaravel-icloudicloud-sdk

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/szwtdl-icloud/health.svg)

```
[![Health](https://phpackages.com/badges/szwtdl-icloud/health.svg)](https://phpackages.com/packages/szwtdl-icloud)
```

###  Alternatives

[ashallendesign/favicon-fetcher

A Laravel package for fetching website's favicons.

190272.4k3](/packages/ashallendesign-favicon-fetcher)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[bubbstore/correios

Biblioteca que faz cálculo de frete, rastreamento de objetos e consulta de CEP diretamente do Webservice dos Correios.

2589.0k](/packages/bubbstore-correios)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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