ankitsam / office365-api-php-client

The Office 365 RESTful API PHP Client Library enables you to work with Calendar, Contact and Mail that uses OAuth2 for authorization.
Apache License 2.0
19 stars 13 forks source link

Office 365 APIs PHP Client Library

--

Description

The Office 365 RESTful API PHP Client Library enables you to work with Calendar, Contact and Mail that uses OAuth2 for authorization.

Requirements:
1) PHP 5.2.x or higher [http://www.php.net/]
2) PHP Curl extension [http://www.php.net/manual/en/intro.curl.php]
3) PHP JSON extension [http://php.net/manual/en/book.json.php]

Use

1) Set oauth2_client_id, oauth2_secret, oauth2_redirect, state in src/config.php
2) Open examples/oauth2.php to get access & refresh token

TODO

Mail, Calendar and Contact services