2017 © Pedro Peláez
 

yii2-extension yii2-ews

Extension conversion of 'EWS' to yii2 extension

image

segpacto/yii2-ews

Extension conversion of 'EWS' to yii2 extension

  • Monday, August 28, 2017
  • by segpacto
  • Repository
  • 3 Watchers
  • 1 Stars
  • 10,466 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 6 Versions
  • 3 % Grown

The README.md

PHP Exchange Web Services

The PHP Exchange Web Services library (php-ews) is intended to make communication with Microsoft Exchange servers using Exchange Web Services easier. It handles the NTLM authentication required to use the SOAP services and provides an object-oriented interface to the complex types required to form a request., (*1)

Dependencies

  • PHP 5.2+
  • cURL with NTLM support (7.23.0+ recommended)
  • Exchange 2007 or 2010*

**Note: Not all operations or request elements are supported on Exchange 2007.*, (*2)

Installation

Clone the project from git into the desired location., (*3)

git clone https://github.com/segpacto/yii2-exchange.git

Usage

The library can be used to make several different request types. In order to make a request, you need to instantiate a new Ews object:, (*4)

$ews = new Ews($server, $username, $password, $version);

Could be installed using composer :, (*5)

composer require "segpacto/yii2-ews:dev-master"

The ExchangeWebServices class takes four parameters for its constructor:, (*6)

  • $server: The url to the exchange server you wish to connect to, without the protocol. Example: mail.example.com. If you have trouble determing the correct url, you could try using the EWSAutodiscover class.
  • $username: The user to connect to the server with. This is usually the local portion of the users email address. Example: "user" if the email address is "user@example.com".
  • $password: The user's plain-text password.
  • $version (optional): The version of the Exchange sever to connect to. Valid values can be found at ExchangeWebServices::VERSION_*. Defaults to Exchange 2007.

Once you have your ExchangeWebServices object, you need to build your request object. The type of object depends on the operation you are calling. If you are using an IDE with code completion it should be able to help you determine the correct classes to use using the provided docblocks., (*7)

The request objects are build similar to the XML body of the request. See the resources section below for more information on building the requests., (*8)

Available Functions

For synchronization connecting to an stream channel * synchronize(state_key) Get all the Emails of the current account * getEmails() Get Contact List of the current account, estructure [contact_id, contact_email] * getContactList() Get Calendar Events, in case not passed will take -15, +15 from now. Result Array defined on the function createEventArrayFromResponse() * getCalendarEvents(start_date, end_date), (*9)

Resources

Support

All questions should use the issue queue. This allows the community to contribute to and benefit from questions or issues you may have. Any support requests sent to my email address will be directed here., (*10)

Contributions

Contributions are always welcome!, (*11)

Contributing Code

If you would like to contribute code please fork the repository on github and issue a pull request against the master branch. It is recommended that you make any changes to your fork in a separate branch that you would then use for the pull request. If you would like to receive credit for your contribution outside of git, please add your name and email address (optional) to the CONTRIBUTORS.txt file. All contributions should follow the PSR-1 and PSR-2 coding standards., (*12)

Contributing Documentation

If you would like to contribute to the documentation, please feel free to update the wiki. I request that you do not make changes to the home page but other pages (including new ones) are fair game. Please leave a descriptive log message for any changes that you make., (*13)

Other Contributions

Have you found this library helpful? Why not take a minute to endorse my hard work on coderwall! Just click the badge below:, (*14)

, (*15)

The Versions

28/08 2017

dev-master

9999999-dev

Extension conversion of 'EWS' to yii2 extension

  Sources   Download

The Requires

 

by Ivan Martinez

extension yii2 calendar exchange mailbox ews

28/08 2017

1.1.1

1.1.1.0

Extension conversion of 'EWS' to yii2 extension

  Sources   Download

The Requires

 

by Ivan Martinez

extension yii2 calendar exchange mailbox ews

15/03 2017

v1.1.0

1.1.0.0

Extension conversion of 'EWS' to yii2 extension

  Sources   Download

The Requires

 

by Ivan Martinez

extension yii2 calendar exchange mailbox ews

04/11 2016

v1.0

1.0.0.0

Extension conversion of 'EWS' to yii2 extension

  Sources   Download

The Requires

 

by Ivan Martinez

extension yii2 calendar exchange mailbox ews

04/11 2016

dev-hotfix/retrieving_more_than_the_max_events_allowed

dev-hotfix/retrieving_more_than_the_max_events_allowed

Extension conversion of 'EWS' to yii2 extension

  Sources   Download

The Requires

 

by Ivan Martinez

extension yii2 calendar exchange mailbox ews

28/04 2016

dev-develop

dev-develop

Extension conversion of 'EWS' to yii2 extension

  Sources   Download

The Requires

 

by Ivan Martinez

extension yii2 calendar exchange mailbox ews