2017 © Pedro Peláez
 

library laravel-exchange-web-services

Exchange Web Services bridge for Laravel 5

image

fuitad/laravel-exchange-web-services

Exchange Web Services bridge for Laravel 5

  • Monday, February 15, 2016
  • by Fuitad
  • Repository
  • 1 Watchers
  • 6 Stars
  • 666 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

THIS PACKAGE IS DEPRECATED AND NO LONGER SUPPORTED.

Exchange Web Services bridge for Laravel 5

Installation

Require this package with Composer, (*1)

composer require fuitad/laravel-exchange-web-services

Quick Start

Once Composer has installed or updated your packages you need to register EwsBridge with Laravel itself. Open up config/app.php and find the providers key, towards the end of the file, and add 'EwsBridge\EwsServiceProvider::class', to the end:, (*2)

'providers' => [
     ...
                EwsBridge\EwsServiceProvider::class
],

Now find the alliases key, again towards the end of the file, and add 'ExchangeWebServices' => 'EwsBridge\Facade\ExchangeWebServices::class', to have easier access to the EwsBridge:, (*3)

'aliases' => [
    ... 
                'ExchangeWebServices' => EwsBridge\Facade\ExchangeWebServices::class
],

Now that you have the both of these added to config/app.php we will use Artisan to add the new ews config file:, (*4)

php artisan vendor:publish --provider="EwsBridge\EwsServiceProvider"

Most of the config values are fetch from your .env file so you'll want to add the following variables in your ENV file:, (*5)

EWS_USERNAME=email@account.com OR domain\username
EWS_PASSWORD=password123
EWS_URL=https://mail.myserver.com/EWS/Services.wsdl

Your URL must link to the wsdl file on your EWS server, otherwise, it won't work!, (*6)

If you need to log into a delegate account, you'll also need to add the following variable:, (*7)

EWS_DELEGATE=delegatemailbox@account.com

Usage

$messages = ExchangeWebServices::get_messages(5);

The Versions

15/02 2016
15/02 2016