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:
- Nginx — one web server for all your projects, each at its own
name.testdomain; - PHP (FastCGI) — any number of versions installed, one or more running at once;
- MySQL / MariaDB and phpMyAdmin;
- PostgreSQL and Redis PRO;
- Node.js and Composer for your build tools.
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
- Windows 10 or Windows 11, 64-bit.
- About 500 MB of free disk space for the tools (more for your projects and databases).
- An internet connection for the first-run downloads.
Installer (recommended)
- Download
CLUSLEV_x.y.z_x64-setup.exefrom the download page. - Run it. If Windows shows "Windows protected your PC", click More info → Run anyway — the installer isn't code-signed yet.
- 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
- Download
CLUSLEV_x.y.z_x64_portable.zip. - Unzip it to
C:\. You getC:\cluslev\cluslev.exe. - 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:
- PHP 8.4, Nginx, MariaDB, Redis, Composer and Node.js — about 150 MB in total.
- Every file comes from the project's official source and is checked against its SHA-256 checksum before it's unpacked. A file that doesn't match is thrown away.
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.
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:
- The
CLUSLEV_HOMEenvironment variable, if it's set. - The folder that holds
cluslev.exe, if it looks like a CLUSLEV home (it has aportable.flagfile, orbin\,www\anddata\). - 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:
| Type | Detected by | Web root |
|---|---|---|
| Laravel | artisan | public\ |
| WordPress | wp-config.php or wp-load.php | the folder |
| PHP | composer.json, index.php or public\index.php | public\ if it has index.php, else the folder |
| Node | package.json | the folder (static files) |
| Static | index.html or public\index.html | public\ 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.
| Service | Default port | Notes |
|---|---|---|
| Web (Nginx) | 8088 / 8443 | One server for every project |
| PHP (FastCGI) | 9105 and up | 16 ports reserved per PHP version |
| MySQL / MariaDB | 3307 | User root, no password at first |
| PostgreSQL PRO | 5433 | User postgres, local trust login |
| Redis PRO | 6380 |
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.
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:
- creates a local certificate authority and adds it to your Windows certificate store (current user only), so browsers trust it;
- issues a certificate for every project domain;
- serves each site on both
http://andhttps://.
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.
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.
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:
- Keep CLUSLEV running in the notification area when its window is closed — on by default.
- Start CLUSLEV when Windows starts — opens it straight into the notification area when you sign in.
Command-line options
| Command | What it does |
|---|---|
cluslev.exe --tray | Start hidden in the notification area. |
cluslev.exe --quit | Tell 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
| Section | What's there |
|---|---|
| License | Activate your Pro key, see its status, check it now, or remove it from this computer to free a seat. |
| Folders & domains | Projects folder, auto-adding new folders, domain ending, optional runtimes from an existing setup. |
| Ports | Web HTTP/HTTPS, first PHP port, PHP workers, MySQL, PostgreSQL, Redis. |
| Startup | Which services Start all starts, start on open, notification area, start with Windows, HTTPS. |
| CLUSLEV home | Version, 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
- Stop your current setup's MySQL server (copying live database files would damage them).
- In CLUSLEV, open Projects and click Import. If CLUSLEV doesn't find your current setup, set its folder in Settings first.
- Tick MySQL to bring the server's tuning and all its databases, and pick the projects to copy. Copying includes
vendor\andnode_modules\, so large projects take a few minutes. - If your old MySQL
rootuser 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.
.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.
- Installer version: the update installs itself and CLUSLEV restarts.
- Portable version: quit CLUSLEV, then replace
cluslev.exewith the one from the new zip.
Updates never touch www\, data\ or your settings. Every version is listed on the releases page.
Pro & your licence
| Free | Pro | |
|---|---|---|
| Projects, .test domains, Nginx, PHP | ✓ | ✓ |
| MySQL / MariaDB, phpMyAdmin | ✓ | ✓ |
| Package Center, Terminal, project import | ✓ | ✓ |
| PHP workers per version | 2 | Your 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
- Open Settings → License.
- 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
- Check the domain is in the CLUSLEV block of
C:\Windows\System32\drivers\etc\hosts. If not, approve the UAC prompt from Domains & SSL. - Include the port if it isn't 80:
http://name.test:8088. - Browsers sometimes search instead of opening
.testaddresses — type the fullhttp://address. - A VPN or antivirus web filter can bypass the hosts file; try with it paused.
"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:
- Start them from the CLUSLEV terminal, so the
php,composer,mysqlandpsqlthey run are the ones your sites use. - Tell them where things are. Add a few lines to your project's
AGENTS.mdorCLAUDE.md: the site address (http://shop.test:8088), the database ports (3307 / 5433), and the log locations (C:\cluslev\logs,storage\logs\laravel.log). - Let them check their work by opening the site and reading the logs after a change.
- Back up before big changes. Dump the database (
mysqldump/pg_dump) before letting an assistant run migrations.
Email us with what you tried and the error from Activity Logs.