{"id":21556974,"url":"https://github.com/adeboyed/laravel-ews-driver","last_synced_at":"2025-04-10T10:22:54.415Z","repository":{"id":56940636,"uuid":"272411955","full_name":"adeboyed/laravel-ews-driver","owner":"adeboyed","description":"Add Exchange Web Services support to Laravel","archived":false,"fork":false,"pushed_at":"2020-09-01T21:36:47.000Z","size":40,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T09:11:30.685Z","etag":null,"topics":["exchange-web-services","laravel","lumen","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adeboyed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-15T10:43:48.000Z","updated_at":"2023-11-29T03:42:53.000Z","dependencies_parsed_at":"2022-08-21T07:20:10.402Z","dependency_job_id":null,"html_url":"https://github.com/adeboyed/laravel-ews-driver","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adeboyed%2Flaravel-ews-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adeboyed%2Flaravel-ews-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adeboyed%2Flaravel-ews-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adeboyed%2Flaravel-ews-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adeboyed","download_url":"https://codeload.github.com/adeboyed/laravel-ews-driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199079,"owners_count":21063641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exchange-web-services","laravel","lumen","php"],"created_at":"2024-11-24T08:10:33.926Z","updated_at":"2025-04-10T10:22:54.392Z","avatar_url":"https://github.com/adeboyed.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Laravel Exchange Web Services Driver\n====\n\n![Packagist Version](https://img.shields.io/packagist/v/adeboyed/laravel-ews-driver)\n![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/adeboyed/laravel-ews-driver)\n\n\nA 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.\nThis package requires a access to a EWS host.\n\nThis library uses the [php-ews](https://github.com/jamesiarmes/php-ews/) library to connect to the exchange web services host.\nTherefore requires the following dependencies:\n\n* Composer\n* PHP 5.4 or greater\n* cURL with NTLM support (7.30.0+ recommended)\n* Exchange 2007 or later\n\nFor more information, visit that [repo](https://github.com/jamesiarmes/php-ews/)\n\n# Install (Laravel)\n\nAdd the package to your composer.json and run composer update.\n```json\n\"require\": {\n    \"adeboyed/laravel-ews-driver\": \"~1.1\"\n},\n```\n\nor install with composer\n```\n$ composer require adeboyed/laravel-ews-driver\n```\n\nAdd the Exchange service provider in config/app.php:\n(Laravel 5.5+ uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.)\n```php\n'providers' =\u003e [\n    Adeboyed\\LaravelExchangeDriver\\ExchangeAddedServiceProvider::class\n];\n```\n\n# Install (Lumen)\n\nAdd the package to your composer.json and run composer update.\n```json\n\"require\": {\n    \"adeboyed/laravel-ews-driver\": \"~1.1\"\n},\n```\n\nor install with composer\n```bash\n$ composer require adeboyed/laravel-ews-driver\n```\n\nAdd the exchange service provider in bootstrap/app.php\n```php\n$app-\u003econfigure('mail');\n$app-\u003econfigure('services');\n$app-\u003eregister(Adeboyed\\LaravelExchangeDriver\\ExchangeServiceProvider::class);\n\nunset($app-\u003eavailableBindings['mailer']);\n```\n\nCreate mail config files.\nconfig/mail.php\n```php\n\u003c?php\nreturn [\n    'driver' =\u003e env('MAIL_DRIVER', 'exchange'),\n];\n```\n\n## Configure\n\n.env\n```\nMAIL_DRIVER=exchange\nMAIL_HOST=webmail.example.com\nMAIL_USERNAME=examplemail\nMAIL_PASSWORD=examplepassword\nMAIL_MESSAGE_DISPOSITION_TYPE=SaveOnly|SendAndSaveCopy|SendOnly\n```\n\nconfig/mail.php (In using lumen, this requires creating config directory and file, [see more here](https://lumen.laravel.com/docs/5.7/mail))\n```php\n    'mailers' =\u003e [\n        'exchange' =\u003e [\n            'transport' =\u003e 'exchange',\n            'host' =\u003e env('MAIL_HOST'),\n            'username' =\u003e env('MAIL_USERNAME'),\n            'password' =\u003e env('MAIL_PASSWORD'),\n            'messageDispositionType' =\u003e env('MAIL_MESSAGE_DISPOSITION_TYPE') // Optional, default: SendAndSaveCopy\n        ],\n    ],\n```\n\nFor more information on the Message Disposition Type, [view more here](https://github.com/jamesiarmes/php-ews/blob/master/src/Enumeration/MessageDispositionType.php)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadeboyed%2Flaravel-ews-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadeboyed%2Flaravel-ews-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadeboyed%2Flaravel-ews-driver/lists"}