All Products
Search
Document Center

Simple Log Service:PHP SDK

Last Updated:Feb 19, 2025

The Simple Log Service PHP SDK offers comprehensive encapsulation of all API interfaces, enabling convenient access to these interfaces using PHP.

Releases

See aliyun-log-php-sdk releases.

Sample code

GitHub source code

Description

sample.php

Examples related to writing logs, querying logs, querying log distribution, shard management, and batch querying logs.

loggerSample.php

Examples related to creating, updating, deleting, and querying log dump tasks (called Shipper) in different formats (CSV, JSON, Parquet).

credentialsProviderSample.php

Examples related to writing and reading logs using static credentials.