Cluslev
cluslev [ cluslev.com ]
[ Documentation ]

CLUSLEV
docs.

Everything you need to run PHP and Laravel projects locally with CLUSLEV — from the first download to moving your existing projects over.

Overview

CLUSLEV is a desktop app for Windows that runs a complete local web stack and keeps it out of your way. It manages:

Everything — the app, its tools, your projects and their data — lives in one folder, C:\cluslev, so it's easy to find, back up or remove.

Install

Requirements

Installer (recommended)

  1. Download CLUSLEV_x.y.z_x64-setup.exe from the download page.
  2. Run it. If Windows shows "Windows protected your PC", click More info → Run anyway — the installer isn't code-signed yet.
  3. Open CLUSLEV from the Start menu.

The installer version updates itself (see Updates). It keeps its tools and your projects in C:\cluslev.

Portable zip

  1. Download CLUSLEV_x.y.z_x64_portable.zip.
  2. Unzip it to C:\. You get C:\cluslev\cluslev.exe.
  3. Run C:\cluslev\cluslev.exe.

The portable build keeps everything next to cluslev.exe, in one folder. You can unzip it somewhere else too; that folder becomes the CLUSLEV home.

First launch

The Dashboard opens with Quick setup. Click it and CLUSLEV downloads its own tools into C:\cluslev\bin:

Then press Start all. The first time MariaDB starts, CLUSLEV creates its data folder; the root user starts with no password.

The first time you add a project, Windows asks for permission (a UAC prompt) so CLUSLEV can add its domains to the hosts file. See Domains.

PostgreSQL (about 370 MB) isn't part of Quick setup. Install it from the Package Center when you need it.

The CLUSLEV folder

C:\cluslev\
├── cluslev.exe        (portable build)
├── bin\               tools: php\ nginx\ mysql\ postgresql\ redis\ node\ composer\
├── www\               your projects → name.test
├── data\              MariaDB / PostgreSQL / Redis data + cluslev.sqlite (CLUSLEV's settings)
├── etc\               generated configs (nginx, php, mysql) and ssl\ (certificates)
├── logs\              one log per service
└── tmp\               downloads and cache

CLUSLEV picks its home folder in this order:

  1. The CLUSLEV_HOME environment variable, if it's set.
  2. The folder that holds cluslev.exe, if it looks like a CLUSLEV home (it has a portable.flag file, or bin\, www\ and data\).
  3. Otherwise C:\cluslev.

Open any of these folders from Settings → CLUSLEV home.

Projects & .test domains

Adding a project

Create or copy a folder into C:\cluslev\www. With Settings → Add new folders here automatically on (the default), CLUSLEV registers it, gives it an Nginx site and a domain:

C:\cluslev\www\shop        →  http://shop.test
C:\cluslev\www\my_blog     →  http://my-blog.test

Underscores become hyphens, because domain names can't contain underscores. You can also register a folder from anywhere on your computer with Projects → Add.

Project types

CLUSLEV looks at the folder to decide how to serve it:

TypeDetected byWeb root
Laravelartisanpublic\
WordPresswp-config.php or wp-load.phpthe folder
PHPcomposer.json, index.php or public\index.phppublic\ if it has index.php, else the folder
Nodepackage.jsonthe folder (static files)
Staticindex.html or public\index.htmlpublic\ if it has index.html, else the folder

If the guess is wrong, change the web root in the Projects list. Removing a project from the list doesn't delete its files, and auto-import won't add it back.

The port in the address

CLUSLEV's web server uses port 8088 out of the box, so it never clashes with another tool. Your sites open at http://shop.test:8088. If nothing else on your computer uses port 80, set Settings → Ports → Web · HTTP to 80 (and HTTPS to 443) to get plain http://shop.test.

Domains

CLUSLEV keeps its own block in the Windows hosts file and updates it when projects change:

# >>> CLUSLEV (managed automatically, do not edit) >>>
127.0.0.1 shop.test
127.0.0.1 my-blog.test
# <<< CLUSLEV <<<

Editing hosts needs administrator rights, so Windows shows a UAC prompt. If you decline it, the domains won't resolve — CLUSLEV shows a banner in Domains & SSL to try again. Lines outside the CLUSLEV block are never touched.

Prefer another domain ending? Change test in Settings → Folders & domains. Stick to .test or .localhost: they're reserved for local use, so they can never clash with a real website.

Services

The Services page starts, stops and restarts each service and shows its status, port and log.

ServiceDefault portNotes
Web (Nginx)8088 / 8443One server for every project
PHP (FastCGI)9105 and up16 ports reserved per PHP version
MySQL / MariaDB3307User root, no password at first
PostgreSQL PRO5433User postgres, local trust login
Redis PRO6380

The ports are deliberately different from the standard ones (80, 3306, 5432, 6379), so CLUSLEV can run next to another web or database server. Change any of them in Settings → Ports. CLUSLEV checks that a port is free before it starts a service and tells you what's using it if it isn't.

Starting automatically

Start all starts the services ticked in Settings → Startup (web, PHP and MySQL by default). Tick Start them automatically when CLUSLEV opens to have them run every time.

Logs

Each service writes to C:\cluslev\logs. Activity Logs shows what CLUSLEV did (starts, stops, errors) next to the raw output of every service — the first place to look when something won't start.

Configs in C:\cluslev\etc are generated. Nginx's are rewritten whenever the web server starts, so change settings in the app rather than in those files.

PHP versions & workers

Installing versions

Get more PHP versions from the Package Center. Runtimes lists everything installed and lets you pick the active (default) version of each tool.

php.ini

Each PHP version gets its own php.ini in C:\cluslev\etc\php\<version>\php.ini, created from PHP's development template with the common extensions turned on (curl, fileinfo, gd, intl, mbstring, openssl, pdo_mysql, pdo_pgsql, pdo_sqlite, mysqli, sqlite3, zip, sodium and more). Your own edits are kept; restart PHP to apply them.

Many projects at once

On Windows, php-cgi handles one request at a time. CLUSLEV therefore runs each PHP version as a small pool of workers and sends every request to the least busy one, so a slow page in one project doesn't hold up another. Free runs 2 workers per version; with PRO you choose the number (4 by default) in Settings.

A PHP version per project PRO

Pick a version in the Projects → PHP column. The default version and every pinned version get their own pool — up to 4 versions running together. Changing a project's version while PHP runs restarts the pools and reloads Nginx for you.

Databases

The Databases page lists, creates and drops databases on MySQL/MariaDB and PostgreSQL, and gives you a ready-to-paste Laravel .env block:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3307
DB_DATABASE=shop
DB_USERNAME=root
DB_PASSWORD=

For PostgreSQL PRO:

DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5433
DB_DATABASE=shop
DB_USERNAME=postgres
DB_PASSWORD=

MySQL users and the root password

Databases → Users adds MySQL users with access to chosen databases, and sets or saves the root password. If your databases came from somewhere else (another setup, a backup) and root already has a password, enter it there so CLUSLEV can manage them.

phpMyAdmin

Open http://localhost:8088/phpmyadmin/ (with your own web port). If it isn't installed yet, get it from the Package Center.

Command-line tools

The CLUSLEV terminal has mysql, mysqldump, psql, pg_dump and pg_restore on its PATH, matching the servers CLUSLEV runs:

mysql -h 127.0.0.1 -P 3307 -u root -p shop < backup.sql
psql -h 127.0.0.1 -p 5433 -U postgres -d shop

HTTPS PRO

Tick Settings → Startup → Serve every site over HTTPS too. CLUSLEV then:

  1. creates a local certificate authority and adds it to your Windows certificate store (current user only), so browsers trust it;
  2. issues a certificate for every project domain;
  3. serves each site on both http:// and https://.

Your sites open at https://shop.test:8443 — or plain https://shop.test with the HTTPS port set to 443. Firefox keeps its own certificate list; if it warns, enable security.enterprise_roots.enabled in about:config.

Package Center

The Package Center downloads official builds of PHP, Nginx, MariaDB, PostgreSQL, Redis, Node.js, Composer and phpMyAdmin into C:\cluslev\bin. Before installing, CLUSLEV checks each download against the checksum its publisher provides — or one pinned inside CLUSLEV — and refuses anything that doesn't match. After installing, the new version shows in Runtimes; make it active there.

Running PostgreSQL or Redis needs PRO; you can still download them on Free.

Terminal

The Terminal page opens PowerShell with CLUSLEV's active PHP, Composer, Node.js and database tools first on PATH. Use it for php artisan, composer install, npm run dev and friends — they'll use exactly the versions your sites run on.

The page also runs quick read-only checks (php -v, composer -V, node -v…) so you can see what's active at a glance.

Terminals you open yourself (Windows Terminal, VS Code) use your normal Windows PATH. To use CLUSLEV's PHP there too, add C:\cluslev\bin\php\<version> to your user PATH and set the PHPRC variable to C:\cluslev\etc\php\<version> so the command line uses the same php.ini.

Notification area & command line

Closing the window doesn't stop your sites: CLUSLEV keeps running in the notification area (the Show hidden icons arrow on the taskbar). Left-click the icon to open CLUSLEV; right-click for Start all services, Stop all services, Open projects folder and Quit CLUSLEV.

Change this in Settings → Startup:

Command-line options

CommandWhat it does
cluslev.exe --trayStart hidden in the notification area.
cluslev.exe --quitTell the running CLUSLEV to stop all services and exit.

Only one CLUSLEV runs at a time; opening it again brings the running one to the front. Quit CLUSLEV always stops every service first, so database files are closed cleanly.

Settings reference

SectionWhat's there
LicenseActivate your Pro key, see its status, check it now, or remove it from this computer to free a seat.
Folders & domainsProjects folder, auto-adding new folders, domain ending, optional runtimes from an existing setup.
PortsWeb HTTP/HTTPS, first PHP port, PHP workers, MySQL, PostgreSQL, Redis.
StartupWhich services Start all starts, start on open, notification area, start with Windows, HTTPS.
CLUSLEV homeVersion, install type, the home folders, Check for updates, licence agreement and open-source notices.

Moving from another setup

Already running PHP projects with another local development environment? CLUSLEV can copy your projects and MySQL databases into its own folders. Your current setup's files are only read — nothing there is moved or changed — and both can run side by side while you switch.

1. Import projects and MySQL

  1. Stop your current setup's MySQL server (copying live database files would damage them).
  2. In CLUSLEV, open Projects and click Import. If CLUSLEV doesn't find your current setup, set its folder in Settings first.
  3. Tick MySQL to bring the server's tuning and all its databases, and pick the projects to copy. Copying includes vendor\ and node_modules\, so large projects take a few minutes.
  4. If your old MySQL root user had a password, enter it in Databases → Users.

2. PostgreSQL databases (if you have any)

The importer covers MySQL. For PostgreSQL, export from your current setup and restore into CLUSLEV with CLUSLEV's own tools — the pg_restore version must be at least the version that made the export:

# 1. With your current PostgreSQL running, export each database (use its own pg_dump.exe)
& "C:\path\to\postgresql\bin\pg_dump.exe" -h 127.0.0.1 -p 5432 -U postgres -Fc -f shop.dump shop

# 2. Install PostgreSQL from CLUSLEV's Package Center and start it, then restore
& "C:\cluslev\bin\postgresql\postgresql-18.7\bin\pg_restore.exe" -h 127.0.0.1 -p 5433 -U postgres -C -d postgres --no-owner shop.dump

3. Update each project's .env

CLUSLEV's database ports differ from the standard ones: change DB_PORT=3306 to 3307 (MySQL) and 5432 to 5433 (PostgreSQL) — or switch CLUSLEV to the standard ports in Settings → Ports once your old setup is gone. Then run php artisan config:clear.

4. Your command line

Many local environments add their PHP, MySQL and other tools to your Windows PATH. Before removing yours, point those at CLUSLEV (see the note under Terminal) or you'll lose the php and mysql commands in your own terminals.

5. Retire the old setup

Rename its folder (for example, add .old to the name) and work with CLUSLEV only for a week or so. When nothing's missing, delete the old folder.

Your old setup may include things CLUSLEV doesn't (yet), such as Apache, a mail catcher or Memcached. If a project relies on Apache-only .htaccess rules, check it under Nginx first — Laravel and WordPress work out of the box.

Updates

CLUSLEV checks for new versions and shows a banner on the Dashboard when one is ready. You can also check any time in Settings → CLUSLEV home → Check for updates. Updates are signed, and CLUSLEV refuses any update without a valid signature.

Updates never touch www\, data\ or your settings. Every version is listed on the releases page.

Pro & your licence

FreePro
Projects, .test domains, Nginx, PHP✓✓
MySQL / MariaDB, phpMyAdmin✓✓
Package Center, Terminal, project import✓✓
PHP workers per version2Your choice (default 4)
A PHP version per project—✓ up to 4 at once
Trusted local HTTPS—✓
PostgreSQL, Redis—✓

Buying

Pro is Rp 199.000, paid once. It's yours forever, with a year of CLUSLEV updates, on up to 2 computers. Get Pro — your licence key is emailed to you.

Activating

  1. Open Settings → License.
  2. Paste your key (CLV-XXXXX-XXXXX-XXXXX-XXXXX) and click Activate.

Activation needs the internet. After that CLUSLEV re-checks the licence now and then in the background; if it can't reach the licence server, Pro keeps working offline for up to 14 days. Click Check now in Settings → License once you're back online. Reinstalling on the same computer reuses its seat.

New computer?

Each key works on 2 computers at a time. To move it, open Settings → License → Remove from this computer on the old one, then activate on the new one. If the old computer is gone or broken, email hello@cluslev.com from your licence email and we'll free the seat.

After the year of updates

Pro keeps working forever on every CLUSLEV version released within your year of updates. A version released after that runs as Free (CLUSLEV tells you so in Settings → License), so you can stay on your last Pro version as long as you like.

Troubleshooting

A service won't start: "port in use"

Another program is using the port. CLUSLEV names it in the error. Close that program, or pick a different port in Settings → Ports. Common culprits: another local development environment, IIS or Skype on port 80, and other database servers.

name.test doesn't open

"No input file specified" or 404 on a Laravel site

The web root is probably wrong. Laravel projects must be served from public\; fix it in the Projects list.

Laravel can't reach the database

Check DB_PORT matches CLUSLEV (3307 for MySQL, 5433 for PostgreSQL by default), the service is running, and clear Laravel's cached config with php artisan config:clear.

Where are the logs?

Activity Logs in the app, or C:\cluslev\logs. Your Laravel app's own log is still in storage\logs\laravel.log.

Starting over

Quit CLUSLEV (right-click the tray icon → Quit). Your projects in www\ and databases in data\ are plain folders — back them up before deleting anything.

Using CLUSLEV with AI coding assistants

Assistants like Claude Code, Cursor and GitHub Copilot work through the terminal and your project files. A few habits make them far more effective with CLUSLEV:

[ Still stuck? ]

Email us with what you tried and the error from Activity Logs.

hello@cluslev.com