All Products
Search
Document Center

Log Service:Overview of Simple Log Service SDK for PHP

Last Updated:Aug 02, 2023

Simple Log Service SDK for PHP encapsulates all API operations of Simple Log Service. You can use Simple Log Service SDK for PHP to call API operations of Simple Log Service in a convenient manner.

Release notes

For more information, see aliyun-log-php-sdk.

Sample code

Simple Log Service SDK for PHP provides a variety of sample code for your reference and use. The following table provides links to the sample code.

GitHub source code

Description

loggerSample.php

Examples on how to write logs, query logs, create data shipping tasks, retry data shipping tasks, and manage shards

sample.php

Examples on how to write logs, query logs and log distribution, manage shards, and perform batch queries