PHPackages                             fuitad/exchange-web-services-for-php - 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. fuitad/exchange-web-services-for-php

AbandonedLibrary[API Development](/categories/api)

fuitad/exchange-web-services-for-php
====================================

A basic library for interacting with Exchange Web Services using PHP 5

2.0.5(10y ago)48.3k31PHPPHP &gt;=5.4.0

Since Feb 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Fuitad/Exchange-Web-Services-for-PHP)[ Packagist](https://packagist.org/packages/fuitad/exchange-web-services-for-php)[ RSS](/packages/fuitad-exchange-web-services-for-php/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (8)Used By (1)

THIS PACKAGE IS DEPRECATED AND NO LONGER SUPPORTED.
===================================================

[](#this-package-is-deprecated-and-no-longer-supported)

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

[](#exchange-web-services-for-php)

This is a basic library that abstracts a few of common operations using the Exchange Web Services API present on Exchange Server 2007. It is based in large part on [Talking SOAP with Exchange](http://www.howtoforge.com/talking-soap-with-exchange).

Right now only basic operations are supported (getting a list of all email from a user's inbox (including attachments), sending email messages, getting calendar events, and utilizing Delegate support to access multiple accounts), but as time goes on hopefully more funtionality will be added.

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

[](#installation)

**Basic Installation**

You can give this a shot, but it doesn't work for me on my Exchange server. If it doesn't work for you, don't panic, just see the "Advanced Installation" section below.

The basic installation is basically just to tell the ExchangeClient to look on the Exchange Server itself for the SOAP files. You would do so during initialization, like so:

```
$exchangeclient = new ExchangeClient();
$exchangeclient->init("mailbox_username", "mailbox_password", NULL, "http://exchange.server.local/EWS/Services.wsdl");

```

If that works for you, great. If not, then you had the same problem as me, see the Advanced section below.

**Advanced Installation**

Installation is a bit more complicated than I'd like, but most of that is due to the way the API is set up.

The first thing you must do is download the SOAP files from your Exchange server. Those files are located here (be sure to replace "exchange.server.local" with the address of the Exchange server on your network):

Download those three files, and place them in the same directory as the "ExchangeClient.php" file.

Finally, open up the Services.wsdl file in a TEXT EDITOR (do not use a Word Processor like MS Word), and at the very bottom of the file, before the final &lt;/wsdl:definitions&gt; tag, add the following:

```

```

Be sure to replace the exchange.server.local with your actual exchange server address.

That's it! You should now be ready to use the library. Just include 'init.php' in your PHP script, and you're off.

Example
-------

[](#example)

The following code initializes the library and sends off a quick test messsage:

```
include "init.php";

$ec = new ExchangeClient();
$ec->init("mailbox_username", "mailbox_password");
$ec->send_message("you@otherdomain.com", "Subject", "A test message");

```

License
-------

[](#license)

This project is licensed under the MIT License. See the included LICENSE files for more details.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~0 days

Total

7

Last Release

3787d ago

Major Versions

1.0.0 → 2.0.02016-02-15

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2.0.3PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a64852765202368cc8417b043a766fe724c4fc3bbfa959d850f8820a6653cd96?d=identicon)[Fuitad](/maintainers/Fuitad)

---

Top Contributors

[![rileydutton](https://avatars.githubusercontent.com/u/396888?v=4)](https://github.com/rileydutton "rileydutton (35 commits)")[![Fuitad](https://avatars.githubusercontent.com/u/263288?v=4)](https://github.com/Fuitad "Fuitad (5 commits)")[![cby016](https://avatars.githubusercontent.com/u/1350113?v=4)](https://github.com/cby016 "cby016 (1 commits)")[![jakemac53](https://avatars.githubusercontent.com/u/984921?v=4)](https://github.com/jakemac53 "jakemac53 (1 commits)")

### Embed Badge

![Health badge](/badges/fuitad-exchange-web-services-for-php/health.svg)

```
[![Health](https://phpackages.com/badges/fuitad-exchange-web-services-for-php/health.svg)](https://phpackages.com/packages/fuitad-exchange-web-services-for-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)[emartech/emarsys-magento2-extension

Magento2 integration for the Emarsys Marketing Platform

14273.9k](/packages/emartech-emarsys-magento2-extension)

PHPackages © 2026

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