Skip to content

1. Install the prerequisites ​

Fusion Stack needs three tools. If you already have them, check the versions at the end of this page and move on.

ToolVersionWhat it is for
PHP8.4 or newerThe language the API is written in, with Laravel.
Composer2Installs PHP packages, such as Laravel and Fusion Stack.
Node22 or newerRuns the Nuxt app and the tools that create the project. It comes with npm.

There is no database server to install. The project uses SQLite, which keeps the whole database in one file and comes with PHP.

Install PHP and Composer ​

php.new, from the Laravel team, installs the latest PHP and Composer with one command. Run the one for your system in a terminal:

sh
/bin/bash -c "$(curl -fsSL https://php.new/install/mac)"
powershell
# Run as administrator
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows'))
sh
/bin/bash -c "$(curl -fsSL https://php.new/install/linux)"

If you prefer an app, Laravel Herd installs both on macOS and Windows. If you install PHP another way, make sure it has the mbstring, intl, bcmath and pdo_sqlite extensions.

Install Node ​

Download the LTS version from nodejs.org, or use a version manager such as fnm.

Check your versions ​

Open a new terminal, so it finds the tools you installed, and run:

sh
php -v
composer -V
node -v
text
PHP 8.4.15 (cli) (built: Nov 20 2026 10:12:31) (NTS)
Composer version 2.9.2 2026-11-19 16:23:11
v24.11.1

Your exact versions may differ. What matters is PHP 8.4 or newer, Composer 2 and Node 22 or newer.

php, composer or node is not found

The terminal looks for programs in the folders listed in your PATH, which it reads when it starts. Close the terminal and open a new one. If it is still not found, run the installer again and read its last lines: it says what to add to your PATH.

PHP is older than 8.4

Another PHP is found first, often one that came with the system. Run which php (macOS and Linux) or where php (Windows) to see which one. Put the new one first in your PATH, or remove the old one.

Next: create the project.

Released under the MIT License.