> For the complete documentation index, see [llms.txt](https://quantumphp.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quantumphp.gitbook.io/docs/getting-started/quickstart.md).

# Quickstart

This quickstart is for developers who want to get the Quantum PHP Framework running quickly and understand the basic flow before diving deeper into the documentation.

## Before you begin

Make sure you have completed the [Installation](/docs/getting-started/installation.md) guide first.

## 1. Create a new project

Create a new project using Composer:

```bash
composer create-project quantum/project my-project
```

Then move into the project directory:

```bash
cd my-project
```

## 2. Start the development server

Run the built-in development command:

```bash
php qt serve
```

If everything is working correctly, the application should now be available in your browser at the local address shown by the command output.

## 3. Confirm the application is working

Open the local project URL in your browser.

If the installation was successful, you should see the default welcome page.

## 4. Understand the goal of this first run

At this point, the important thing is not to learn every framework feature at once.

The goal is simply to confirm three things:

* the framework is installed correctly
* the CLI tooling is working
* the project can run locally in a normal development workflow

## 5. Learn how the project is organized

Once the project is running, the next step is understanding where the main parts of the application live.

Continue with [Project Structure](/docs/getting-started/project-structure.md) to get a clear overview of how a Quantum PHP Framework project is organized.

## 6. Suggested next steps

A good next path after this page is:

1. [Project Structure](/docs/getting-started/project-structure.md)
2. [Routing](/docs/core-concepts/routing.md)
3. [Controllers](/docs/core-concepts/controllers.md)
4. [Views](/docs/core-concepts/views.md)
5. [Modules](/docs/core-concepts/modules.md)

This order helps you move from "the app runs" to "I understand how the framework is put together."


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://quantumphp.gitbook.io/docs/getting-started/quickstart.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
