PHPorto
A browser panel to manage Windows in one place: WSL commands, Hyper-V VMs, app installs and a local LLM. It runs only on your machine, with token access.
- Year
- 2026
- Type
- Personal project
- Status
- Paused
01 · Problem
WSL, Windows admin tasks, Hyper-V VMs and a local LLM are each managed from a different console.
02 · Solution
One PHP panel in the browser, bound to localhost and protected by a token. It runs commands in WSL, runs Windows admin actions from an allowlist, manages Hyper-V VMs and controls a local Ollama instance. It also frees memory with WinMemoryCleaner, showing free RAM before and after.
03 · Stack
- PHP 8.5
- PowerShell
- WSL2
- Hyper-V
- Ollama
- Pest / Pester
04 · Architecture decisions
The decisions that shaped the project.- ADR 0001
Allowlist and protected folder
Only actions listed in a manifest, from a protected folder, can run elevated on the host.
- ADR 0002
Single use and UAC per sensitive action
Each sensitive action needs its own approval; nothing reuses an elevated session.
- ADR 0008
Ollama per user, without elevation
Pinned version with SHA-256 check, loopback only, and a channel that runs as the regular user.