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

ActiveLibrary[API Development](/categories/api)

wipkip/live-connect
===================

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

07PHP

Since May 14Pushed 12y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

wipkip/live-connect (fork of siftware/live-connect)
===================================================

[](#wipkiplive-connect-fork-of-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`

```
