office365-api-php-client icon indicating copy to clipboard operation
office365-api-php-client copied to clipboard

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

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