All Products
Search
Document Center

CloudFlow:Install Serverless Workflow SDK for PHP

Last Updated:Oct 30, 2023

This topic describes how to install Serverless workflow SDK for PHP. This topic also provides an example on how to use the SDK to call API operations.

Install the SDK

We recommend that you run the composer command to install Serverless Workflow SDK for PHP. Example:

composer require alibabacloud/fnf         

If the download speed of the composer image is slow, you can switch to a composer image in the Chinese Mainland.

composer config repo.packagist composer https://mirrors.aliyun.com/composer/          

Alibaba Cloud SDK for PHP is published at Github. For more information, visit README.md.

SDK sample code

You can use the API-level SDK demos of different languages for debugging. For sample code, visit OpenAPI Explorer.