Azure Log Analytics Data Collector API Client libraries for PHP. The probject was originally started in a repository, azure-log-analytics-data-collector, then moved here as a dedicated repository for PHP client.
Git clone this repository
git clone https://github.com/yokawasa/azure-log-analytics-data-collector-php.git
cd azure-log-analytics-data-collector-php
Download composer.phar and install client libraries autoload file:
curl -s https://getcomposer.org/installer | php
php composer.phar install
Then move to test dir and configure the following variables in test.php
$customer_id = '<Customer ID aka WorkspaceID String>';
$shared_key = '<Primary Key String>';
Finally run test.php
php test.php
Bug reports and pull requests are welcome on GitHub at https://github.com/yokawasa/azure-log-analytics-data-collector-php.