# Installation

You can install **PHPFast** using **Git Clone**, depending on your needs. Below is a detailed guide for both methods:

{% hint style="warning" %}
Note

Both methods provide a smooth and straightforward way to get started with PHPFast, with Composer offering automatic dependency management and Git clone providing access to the latest code directly from the repository. Whether you are working on a new project or contributing to the framework, these installation methods offer flexibility and ease of use.
{% endhint %}

Before installing PHPFast, ensure that your server meets the required specifications, particularly the PHP version and necessary extensions. In some cases, you may need to enable specific extensions by uncommenting the relevant `extension` lines in your `php.ini` file, such as `"curl"` and `"intl"`.

## Step 1: Open your terminal or Powershell.

## Step 2: Clone the Framework repository

Run the following command to download the framework source code:

```sh
git clone https://github.com/cmsfullform/phpfast
```

## **Step 3:** Config nginx or apache running public/ for Folder ROOT:

Then, change your web server to point to the `public/` directory as the root directory of 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.cmsfullform.com/overview/install.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.
