承接 reedtechus/azure-data-explorer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

reedtechus/azure-data-explorer

最新稳定版本:v0.3.2

Composer 安装命令:

composer require reedtechus/azure-data-explorer

包简介

PHP SDK for Azure Data Explorer

README 文档

README

logo-print-hd-transparent

PHP SDK for Azure Data Explorer

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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

The goal of this project is to implement the Azure Data Explorer REST API in PHP.

Feature Roadmap

  • Authentication
  • Query
  • Streaming Ingestion
  • Management Commands
  • Query v2

Installation

You can install the package via composer:

composer require reedtechus/azure-data-explorer

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

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

This package is not endorsed nor supported by Microsoft in any way.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 108
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-08