PHPackages                             reedtechus/azure-data-explorer - 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. reedtechus/azure-data-explorer

ActiveLibrary

reedtechus/azure-data-explorer
==============================

PHP SDK for Azure Data Explorer

v0.3.2(3y ago)31081[3 PRs](https://github.com/reedtechus/azure-data-explorer/pulls)1MITPHPPHP ^8.1

Since Nov 8Pushed 2y agoCompare

[ Source](https://github.com/reedtechus/azure-data-explorer)[ Packagist](https://packagist.org/packages/reedtechus/azure-data-explorer)[ Docs](https://github.com/reedtechus/azure-data-explorer)[ GitHub Sponsors](https://github.com/reedtechus)[ RSS](/packages/reedtechus-azure-data-explorer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (12)Used By (1)

[![logo-print-hd-transparent](https://user-images.githubusercontent.com/77644584/200294033-8c4d0980-56ba-4443-96f0-9dde0753a4df.png)](https://user-images.githubusercontent.com/77644584/200294033-8c4d0980-56ba-4443-96f0-9dde0753a4df.png)

PHP SDK for Azure Data Explorer
===============================

[](#php-sdk-for-azure-data-explorer)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c9f54b1fc736401bb7b32118991a15f8e0de5fe5e8316db33c5446ba126cf972/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726565647465636875732f617a7572652d646174612d6578706c6f726572)](https://packagist.org/packages/reedtechus/azure-data-explorer)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4dba94571dd3646dda75ac509909b4238ba51b418163995b510d11c0b974af1e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f726565647465636875732f617a7572652d646174612d6578706c6f7265722f54657374733f6c6162656c3d7465737473)](https://github.com/reedtechus/azure-data-explorer/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/cdcdb89366c813ee91948df89d2f384b6d1d79dcc82480ff59c214667b568b90/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f726565647465636875732f617a7572652d646174612d6578706c6f7265722f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/reedtechus/azure-data-explorer/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/7bb3cc2b43ce4ad15c999116cb7f37347ba27e4eed4584e52767f6aab0155dff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726565647465636875732f617a7572652d646174612d6578706c6f726572)](https://packagist.org/packages/reedtechus/azure-data-explorer)

This project is a PHP library that allows you to connect to Azure Data Explorer and execute queries.

> ⚠️ **Experimental:** This package is still in development and is not ready for production use.
>
> Breaking changes can still occur **without** a major version change until **1.0.0**.

Goals
-----

[](#goals)

The goal of this project is to implement the [Azure Data Explorer REST API](https://learn.microsoft.com/en-us/azure/data-explorer/kusto/api/rest/) in PHP.

**Feature Roadmap**

- Authentication
- Query
- Streaming Ingestion
- Management Commands
- Query v2

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require reedtechus/azure-data-explorer
```

Usage
-----

[](#usage)

```
use ReedTech\AzureDataExplorer\AzureDataExplorerApi;

$dataExplorer = new AzureDataExplorerApi(
	'AZURE_TENANT_ID',
	'AZURE_CLIENT_ID',
	'AZURE_CLIENT_SECRET',
	'AZURE_DATA_EXPLORER_REGION',
	'AZURE_DATA_EXPLORER_CLUSTER',
);
$results = $dataExplorer->query($query);
```

This returns a `QueryResultsDTO` object (or throws an exception).

**Using the results**

```
dump('Columns: '.implode(', ', $results->columns));
dump('Number of Results: '.count($results->data));
dump('Execution Time: '.$results->executionTime);

dump('First Row: '.print_r($results->data[0], true));
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Chris Reed](https://github.com/chrisreedio)

This package is not endorsed nor supported by [Microsoft](https://github.com/microsoft) in any way.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.3% 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 ~20 days

Total

8

Last Release

1136d ago

Major Versions

v0.1.1 → v2.x-dev2023-01-24

### Community

Maintainers

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

---

Top Contributors

[![chrisreedio](https://avatars.githubusercontent.com/u/77644584?v=4)](https://github.com/chrisreedio "chrisreedio (43 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

azuredata-explorerkustophpazurereedtechusdata-explorerkusto

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/reedtechus-azure-data-explorer/health.svg)

```
[![Health](https://phpackages.com/badges/reedtechus-azure-data-explorer/health.svg)](https://phpackages.com/packages/reedtechus-azure-data-explorer)
```

###  Alternatives

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[ondram/ci-detector

Detect continuous integration environment and provide unified access to properties of current build

22249.4M33](/packages/ondram-ci-detector)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[microsoft/windowsazure

This project provides a set of PHP client libraries that make it easy to access Windows Azure tables, blobs, queues, service runtime and service management APIs.

4241.8M19](/packages/microsoft-windowsazure)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[microsoft/azure-storage-blob

This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Blob APIs.

5516.0M60](/packages/microsoft-azure-storage-blob)

PHPackages © 2026

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