simialbi / yii2-ews
yii2 的 Exchange Web Services 扩展
0.2.0
2023-10-26 08:23 UTC
Requires
- php: >=8.0
- ext-ctype: *
- ext-soap: *
- php-ews/php-ews: ^1.0.0
- simialbi/yii2-simialbi-base: >=0.13.1 <1.0 | ^1.0.0
- simshaun/recurr: ^5.0.0
- yiisoft/yii2: ^2.0.20
Requires (Dev)
- phpunit/phpunit: ^9.5.21
- yiisoft/yii2-coding-standards: ~2.0
This package is auto-updated.
Last update: 2024-09-04 13:48:34 UTC
README
此扩展提供了一个用于与 Exchange Web Services 交互的接口。它基于 php-ews。
资源
安装
安装此扩展的首选方法是通过 composer。
运行以下命令之一:
$ php composer.phar require --prefer-dist simialbi/yii2-ews
或者添加以下内容到您的 composer.json
文件的 require
部分:
"simialbi/yii2-ews": "^1.0.0"
配置
要使用此扩展,请在您的应用程序配置中配置 ews 组件
'components' => [ 'ews' => [ 'class' => 'simialbi\yii2\ews\Connection', 'server' => 'my-exchange.server.com', 'username' => 'administrator', 'password' => 'superSafePassword', // 'enableLogging' => true //TODO extend ], ],
用法
待办事项
许可证
yii2-ews 根据 MIT 许可证发布。有关详细信息,请参阅附带的 LICENSE。