PHPackages                             siftware/live-connect - 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. siftware/live-connect

ActiveLibrary[API Development](/categories/api)

siftware/live-connect
=====================

Consumes Microsoft's Live Connect REST API. Allows OneDrive (SkyDrive) interaction and authentication

39386PHP

Since Apr 30Pushed 10y ago3 watchersCompare

[ Source](https://github.com/siftware/live-connect)[ Packagist](https://packagist.org/packages/siftware/live-connect)[ RSS](/packages/siftware-live-connect/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

siftware/live-connect
=====================

[](#siftwarelive-connect)

A PHP package that consumes Microsoft's Live Connect REST API allowing OneDrive (SkyDrive) interaction and authentication.

Uses OAuth 2.0 authorization code grant flow as [documented here](http://msdn.microsoft.com/en-us/library/live/hh243647.aspx).

Most of the MS Live Connect examples use Javascript, [this](http://msdn.microsoft.com/en-us/library/live/hh243649.aspx) is the best resource I found for a general explanation of the Live Connect auth process on the server side.

Install
-------

[](#install)

Use Composer.

```
cd && mkdir project-root && cd project-root

```

Create a file called composer.json, put this in it:

```
{
    "require": {
        "siftware/live-connect": "dev-master"
    },
    "autoload": {
        "psr-4": {
            "Siftware\\": "src/Siftware"
        }
    }
}

```

Install composer

```
curl -s http://getcomposer.org/installer | php
mv composer.phar composer

```

Grab the library

```
./composer install

```

Usage
-----

[](#usage)

`test/bootstrap.php`

```
