All Products
Search
Document Center

Simple Log Service:PHP SDK

Last Updated:Jun 03, 2026

The Simple Log Service PHP SDK encapsulates all SLS API operations for convenient access in PHP.

Releases

All releases and changelogs are available at aliyun-log-php-sdk releases.

Sample code

GitHub source code

Description

sample.php

Write, query, and batch-query logs; query log distributions; manage shards.

loggerSample.php

Create, update, delete, and query Shipper tasks in CSV, JSON, and Parquet formats.

credentialsProviderSample.php

Write and read logs with static credentials.