PHPackages                             intelisys/php-ews - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. intelisys/php-ews

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

intelisys/php-ews
=================

Library for communicating with Exchange Web Services. Based on James Armes php ews package.

2.1.0-beta(9y ago)099MITPHPPHP &gt;=5.3.9

Since Apr 3Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Intelisys/php-ews)[ Packagist](https://packagist.org/packages/intelisys/php-ews)[ Docs](https://github.com/Intelisys/php-ews)[ RSS](/packages/intelisys-php-ews/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (10)Used By (0)

PHP Exchange Web Services
=========================

[](#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.

[![Scrutinizer](https://camo.githubusercontent.com/63b8326f68d8174c03537eda8bd5645e6ea10c9e05958a7f039038a4a3d597dd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f696e74656c697379732f7068702d6577732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/intelisys/php-ews)[![Total Downloads](https://camo.githubusercontent.com/c03dfd228c91e031ca17fe3539a0346a99aaa62dc62466abcdc4e825f70336d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d6577732f7068702d6577732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-ews/php-ews)

Dependencies
------------

[](#dependencies)

- Composer
- PHP 5.4 or greater
- cURL with NTLM support (7.30.0+ recommended)
- Exchange 2007 or later

**Note: Not all operations or request elements are supported on all versions of Exchange.**

Installation
------------

[](#installation)

The prefered installation method is via Composer, which will automatically handle autoloading of classes.

```
{
    "require": {
        "intelisys/php-ews": "dev-master"
    }
}
```

Usage
-----

[](#usage)

The library can be used to make several different request types. In order to make a request, you need to instantiate a new `\Intelisys\PhpEws\Client`object:

```
use \Intelisys\PhpEws\Client;

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

The `Client` class takes four parameters for its constructor:

- `$server`: The url to the exchange server you wish to connect to, without the protocol. Example: mail.example.com. If you have trouble determining the correct url, you could try using the [`\Intelisys\PhpEws\Autodiscover`](https://github.com/intelisys/php-ews/wiki/Autodiscovery)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 "".
- `$password`: The user's plain-text password.
- `$version` (optional): The version of the Exchange sever to connect to. Valid values can be found at `\Intelisys\PhpEws\Client::VERSION_*`. Defaults to Exchange 2007.

Once you have your `\Intelisys\PhpEws\Client` 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.

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.

Examples
--------

[](#examples)

There are a number of examples included in the examples directory. These examples are meant to be run from the command line. In each, you will need to set the connection information variables to match those of your Exchange server. For some of them, you will also need to set ids or additional data that will be used in the request.

Resources
---------

[](#resources)

- [php-ews Website](http://jamesarmes.com/php-ews/)
- [Exchange 2007 Web Services Reference](http://msdn.microsoft.com/library/bb204119(v=EXCHG.80).aspx)
- [Exchange 2010 Web Services Reference](http://msdn.microsoft.com/library/bb204119(v=exchg.140).aspx)
- [Exchange 2013 Web Services Reference](http://msdn.microsoft.com/library/bb204119(v=exchg.150).aspx)

Support
-------

[](#support)

All questions should use the [issue queue](https://github.com/intelisys/php-ews/issues). This allows the community to contribute to and benefit from questions or issues you may have. Any support requests received via email will be directed here.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

8

Last Release

3402d ago

Major Versions

1.0.0-beta.4 → 2.0.0-beta2017-02-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5348592?v=4)[J-Kelley](/maintainers/J-Kelley)[@J-Kelley](https://github.com/J-Kelley)

---

Top Contributors

[![jamesiarmes](https://avatars.githubusercontent.com/u/1030345?v=4)](https://github.com/jamesiarmes "jamesiarmes (275 commits)")[![J-Kelley](https://avatars.githubusercontent.com/u/5348592?v=4)](https://github.com/J-Kelley "J-Kelley (6 commits)")[![cby016](https://avatars.githubusercontent.com/u/1350113?v=4)](https://github.com/cby016 "cby016 (3 commits)")[![daareiza](https://avatars.githubusercontent.com/u/8284557?v=4)](https://github.com/daareiza "daareiza (3 commits)")[![nvanheuverzwijn](https://avatars.githubusercontent.com/u/943226?v=4)](https://github.com/nvanheuverzwijn "nvanheuverzwijn (1 commits)")[![B16-1DEA](https://avatars.githubusercontent.com/u/136657565?v=4)](https://github.com/B16-1DEA "B16-1DEA (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (1 commits)")[![koab](https://avatars.githubusercontent.com/u/4482306?v=4)](https://github.com/koab "koab (1 commits)")[![LuthorDevelopment](https://avatars.githubusercontent.com/u/10698011?v=4)](https://github.com/LuthorDevelopment "LuthorDevelopment (1 commits)")

### Embed Badge

![Health badge](/badges/intelisys-php-ews/health.svg)

```
[![Health](https://phpackages.com/badges/intelisys-php-ews/health.svg)](https://phpackages.com/packages/intelisys-php-ews)
```

###  Alternatives

[php-ews/php-ews

Library for communicating with Exchange Web Services.

5752.6M15](/packages/php-ews-php-ews)[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
