synergitech/dynamics-webapi-toolkit
Composer 安装命令:
composer require synergitech/dynamics-webapi-toolkit
包简介
Web API toolkit for Microsoft Dynamics 365 and Dynamics CRM
README 文档
README
The Dynamics Web API Toolkit provides an easy-to-use PHP wrapper for the Dynamics 365 Customer Engagement Web API.
Create, read, update and delete CRM records easily via the IOrganizationService - compatible interface, as well as execute Web API actions and functions.
See the tutorial for the sample code to instantiate the connection, create, retrieve, update and delete records.
This toolkit supports only Dynamics 365 Web API. For PHP implementation of the Dynamics 365 SOAP interface, see php-crm-toolkit project.
Features & Limitations
The current release of the library does not support the following features (supported features and scenarios are mentioned along the way):
- Authentication support for IFD and On-Premises (AD) deployments. Support for IFD (Internet Facing Deployment) is on the roadmap, On-Premises deployments (using AD) are under consideration.
- Execute method of IOrganizationService interface is not supported yet. Means for executing functions and actions, both bound and unbound, are provided though.
- Batch requests are not supported yet. That means, associating/disassociating multiple records is executed in multiple separate requests which may affect the performance.
- Organization metadata (entities and attributes, global option sets, etc.) is not supported yet, although can be retrieved manually via the built-in OData helper client or via the HTTP client.
- Most of the record attribute values are returned as-is from Web API. That means, at this point you must expect integers in place of OptionSetValue objects for picklist values, Status/State attributes, booleans for "Two Options" attributes, and floats for decimal and Money attributes. Lookup attribute values are rendered as EntityReference objects. The same applies when you set values in the Entity, including EntityReferences. This is likely to change once organization metadata is integrated into the toolkit.
Getting Started
Prerequisites
The main requirement is PHP 7.4 or later. cURL is recommended but is not required. Composer is required to install the toolkit and its dependencies.
Installing
$ composer require alexacrm/dynamics-webapi-toolkit:dev-master
Consuming
See the Tutorial to learn how to consume the library.
Built With
- David Yack's Xrm.Tools.CRMWebAPI - some code was borrowed as OData helper code
- Guzzle - an extensible PHP HTTP client
Versioning
Currently the toolkit code is not tagged. Once the library is stable API-wise, we will use SemVer for versioning.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
synergitech/dynamics-webapi-toolkit 适用场景与选型建议
synergitech/dynamics-webapi-toolkit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 249 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 03 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 synergitech/dynamics-webapi-toolkit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 synergitech/dynamics-webapi-toolkit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 249
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-12