PHPackages                             tahsingokalp/laravel-ews-driver - 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. tahsingokalp/laravel-ews-driver

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

tahsingokalp/laravel-ews-driver
===============================

Adds Exchange Web Services Mail Support to Laravel.

v1.0.4(2y ago)2285↓90%1Apache-2.0PHPPHP &gt;=8.1

Since May 19Pushed 2y agoCompare

[ Source](https://github.com/TahsinGokalp/laravel-ews-driver)[ Packagist](https://packagist.org/packages/tahsingokalp/laravel-ews-driver)[ Docs](https://github.com/tahsingokalp/laravel-ews-driver)[ RSS](/packages/tahsingokalp-laravel-ews-driver/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Laravel Exchange Web Services Driver
====================================

[](#laravel-exchange-web-services-driver)

A Mail Driver with support for Exchange Web Services, using the original Laravel API. This library extends the original Laravel classes, so it uses exactly the same methods. This package requires a access to a EWS host.

This library uses the [php-ews](https://github.com/jamesiarmes/php-ews/) library to connect to the exchange web services host. Therefore requires the following dependencies:

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

For more information, visit that [repo](https://github.com/jamesiarmes/php-ews/)

Install (Laravel)
=================

[](#install-laravel)

Add the package to your composer.json and run composer update.

```
"require": {
    "tahsingokalp/laravel-ews-driver": "~1.0"
},
```

or install with composer

```
$ composer require tahsingokalp/laravel-ews-driver

```

Add the Exchange service provider in config/app.php: (Laravel 5.5+ uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.)

```
'providers' => [
    TahsinGokalp\LaravelEwsDriver\EwsServiceProvider::class
];
```

Add mail config to config file.

config/mail.php

```
