PHPackages                             thisispiers/acloud - 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. [API Development](/categories/api)
4. /
5. thisispiers/acloud

ActiveLibrary[API Development](/categories/api)

thisispiers/acloud
==================

Unofficial PHP client for Apple iCloud services

0.1.5(10mo ago)1344↓33.3%UnlicensePHPPHP ^8

Since Mar 22Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/thisispiers/acloud)[ Packagist](https://packagist.org/packages/thisispiers/acloud)[ RSS](/packages/thisispiers-acloud/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

Acloud
======

[](#acloud)

Unofficial PHP client for Apple iCloud services.

> Apple and iCloud are trademarks of Apple Inc.

ServiceSupportedCalendar❌Contacts✅ SupportedDrive❌Find My❌Friends❌Mail❌Notes❌Photos❌Reminders❌Feel free to add support for services by submitting a pull request.

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

[](#installation)

```
composer require thisispiers/acloud

```

Usage
-----

[](#usage)

The tokens and cookies used for signing in are saved to the file path passed as the first argument to the constructor of `Session`. If you need to override this feature, pass in `null` or an empty string and use `getState()` and `getHttpCookieJar()`.

If a verification code is needed for signing in, `signIn()` will return the string `"MFA"` or the obfuscated phone number the code was sent to. Retrieve the verification code from the user and pass it to `verifyMFACode()`.

Make sure to check `isSignedIn()` after calling `signIn()` and `verifyMFACode()`.

Here's a basic example:

```
