# Installation

## Prerequisites

* **PHP** : version 8.1 or later
* **php\_curl** extension must be enabled
* **json** extension must be enabled
* **Composer** : version 1.0.0 or later

## Installation Guide

Use composer to add the SDK as a dependency to your project:

```shell
composer require flagship-io/flagship-php-sdk
```

These commands will install the Flagship PHP SDK into your project, allowing you to start integrating Flagship features into your application.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/server-side/sdks/php/php-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
