PHPackages                             dynamics-tools/dynamics-web-api-php-wrapper - 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. [API Development](/categories/api)
4. /
5. dynamics-tools/dynamics-web-api-php-wrapper

ActiveLibrary[API Development](/categories/api)

dynamics-tools/dynamics-web-api-php-wrapper
===========================================

PHP 8.1 wrapper for Microsoft Dynamics Web API

1.0.1.1(1y ago)1387PHPPHP ^8.2

Since Aug 29Pushed 1y agoCompare

[ Source](https://github.com/dynamics-tools/web-api-php-wrapper)[ Packagist](https://packagist.org/packages/dynamics-tools/dynamics-web-api-php-wrapper)[ RSS](/packages/dynamics-tools-dynamics-web-api-php-wrapper/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Dynamics Web API PHP Wrapper
============================

[](#dynamics-web-api-php-wrapper)

Introduction
------------

[](#introduction)

This package is not intended to be an in-depth SDK for Microsoft Dynamics. Its main purpose is to simplify the process of authentication and request setup for users of Dynamics Web API.

Authentication
--------------

[](#authentication)

We utilize server-to-server OAuth authentication via an application user. To successfully authenticate, you'll need to set the following environment variables:

**APPLICATION\_ID**: Application (Client) ID

**APPLICATION\_SECRET**: Application (Client) Secret

**TENANT\_ID**: Tenant ID

**INSTANCE\_URL**: Dynamics (Instance) URL

API Documentation
-----------------

[](#api-documentation)

The API documentation for this version of the Dynamics Web API can be found [here](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/about?view=dataverse-latest).

Usage Example
-------------

[](#usage-example)

Ensure the environment variables are set before running the example.

### Using the Client

[](#using-the-client)

```
use DynamicsWebApi\Client;
use DynamicsWebApi\ClientFactory;

require_once 'vendor/autoload.php';

$client = Client::createInstance();
$response = $client->request('/CloneAsSolution', 'POST', [
'ParentSolutionUniqueName' => 'MySolution',
'DisplayName' => 'MySolution',
'VersionNumber' => '1.12.0.0'
]);

$responseJson = json_decode($response->getBody()->getContents(), true);
echo $responseJson['SolutionId'];
```

### Using the Helper

[](#using-the-helper)

```
use DynamicsWebApi\Helper;

require_once 'vendor/autoload.php';

$helper = new Helper();
$helper->updateEntity('pluginassemblies', '38938383-383838-392912-192882', ['name' => 'MyPluginAssembly'], '9.2');
$helper->publishAllChanges();
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~161 days

Total

3

Last Release

716d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cfcab0ea5644ce33687198d54ff5838f6a9279799da02a2cfc1a22c5dc10501e?d=identicon)[adammcgurk](/maintainers/adammcgurk)

---

Top Contributors

[![Mcgurk-Adam](https://avatars.githubusercontent.com/u/30099797?v=4)](https://github.com/Mcgurk-Adam "Mcgurk-Adam (25 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dynamics-tools-dynamics-web-api-php-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/dynamics-tools-dynamics-web-api-php-wrapper/health.svg)](https://phpackages.com/packages/dynamics-tools-dynamics-web-api-php-wrapper)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
