Quickstart cipi.yml Web panel API MCP Ecosystem Guides Docs GitHub Telegram channel
  1. Home
  2. Guides
  3. Everything Cipi can do: a tour of the self-hosted PHP deploy platform
Get started

Everything Cipi can do: a tour of the self-hosted PHP deploy platform

A guided tour of Cipi, area by area — the app types, zero-downtime deploys and previews, domains and HTTPS, caching, databases and workers, backups and monitoring, security and Zero Trust, the web panel, the API and MCP — with the command for each and the guide that goes deeper.

By Updated 8 min read

Cipi turns a fresh Ubuntu server into a platform for PHP apps: one command installs a hardened stack, and from then on every app — Laravel, WordPress, Symfony, a Node front end, a plain PHP site — is one more command away, deployed with zero downtime and isolated from the others. It is free, open source, and it runs entirely on your server.

This page is the map. Each area has what Cipi does, the command that does it, and where to read more.

bash
wget -O - https://cipi.sh/setup.sh | bash

One server, every kind of app#

Each app is a Linux user of its own, with its own PHP-FPM pool (or Node process), Nginx site, database, .env and certificate. One app can't read another's files.

AppCreate it withDeploys
Laravel on PHP-FPMsudo cipi app createReleases, zero downtime, rollback
Laravel on Octane (FrankenPHP)sudo cipi app create --octaneThe same, workers reloaded
WordPress from Git, classic or Bedrocksudo cipi app create --wordpressReleases; uploads and wp-config.php shared
Symfonysudo cipi app create --symfonyReleases; Composer, AssetMapper, cache, Doctrine migrations
Laravel Rust (beta)sudo cipi app create --rustCompiled on the server, switched blue/green
Node: SPA, static or SSR (Next, Nuxt, SvelteKit, Astro, Remix)sudo cipi app create --node=ssrBuilt on deploy; SSR switched blue/green
Anything PHP, or static files, Git or SFTPsudo cipi app create --customIn place, or releases of your own

Guides: Laravel · WordPress from Git · WordPress from its dashboard · Symfony · Laravel Rust · Next.js, Nuxt, Astro · plain PHP and other CMSs.

Around every app: aliases and www, a .env editor (sudo cipi app env), resource limits, suspend and unsuspend, a clone of a Laravel app for staging, and commands run as the app's user — sudo cipi app artisan shop migrate:status, sudo cipi app run blog wp plugin list, sudo cipi app run billing php bin/console about.

Deploys#

bash
sudo cipi deploy shop                 # a new release, switched in one step
sudo cipi deploy shop --rollback      # back one release
Zero downtimeEach deploy builds releases/N beside the live one — Composer, assets, migrations, caches — and moves current in one step. A failed deploy changes nothing
Push to deployA push to the app's branch deploys it. With the server's own domain, Cipi answers the webhook itself on webhooks.example.com/<app> for every app; in a Laravel app the Cipi Agent can answer it too. sudo cipi app webhook auto shop off to deploy only from CI
From CIGitHub Actions, GitLab, Bitbucket, Jenkins, AWS CodeDeploy — over SSH or the API (CI/CD)
Safety netsA database snapshot before the deploy, a healthcheck after it that rolls back an unhealthy release, a paused commit when an automatic deploy fails (safe deploys)
RecordA hash-chained audit ledger of every deploy: who, what commit, how long, the result (sudo cipi deploy shop --audit)
Long buildsTime limits per step and per build, raised per app (slow builds)
Configuration as codecipi.yml in the repository: PHP and its settings, workers, scheduler, routes, post-deploy steps — planned, reviewed and applied all or nothing

Previews of a branch#

bash
sudo cipi server domain set '*.example.com'      # once: one wildcard record
sudo cipi preview create shop feature/new-cart --db=copy

Any branch gets its own address, database and HTTPS — a full copy of the app, deployed at every push and removed when the branch is deleted. Laravel, WordPress, Symfony, Node and Laravel Rust. From the CLI, the panel, the API or a pipeline: preview branches.

Domains, HTTPS and routing#

Command
Let's Encrypt for every app and alias, renewed by itselfsudo cipi ssl install shop
Wildcard certificates through Cloudflare DNSsudo cipi ssl install shop --dns=cloudflare --wildcard
Multi-tenant SaaS on *.example.comwildcard domains
Redirects, and proxies to another servicesudo cipi redirect add …, sudo cipi proxy add …
Nginx directives of your own, tested before reloadsudo cipi nginx edit shop
HTTP/2 and HTTP/3, when you want themsudo cipi nginx http2 on, sudo cipi nginx http3 on (guide)
The visitor's real address behind Cloudflaresudo cipi nginx real-ip cloudflare (guide)
A domain for the server itself: webhooks, previews, the API's namesudo cipi server domain set '*.example.com'

Speed#

LayerWhat it doesCommand
Page cacheNginx answers public pages without running PHP; on disk or in memory; purges only what changedsudo cipi cache blog on (guide)
Object cache for WordPressA Valkey of the site's own for what the page cache never answerssudo cipi cache blog object on (guide)
Valkey per appCache, sessions and queues of a Laravel app in an instance of its ownsudo cipi valkey isolate shop (guide)
OPcacheSized for the server's RAM, watched for when it is fullsudo cipi php opcache
JITPHP's JIT for one appsudo cipi app jit shop on
OctaneLaravel on FrankenPHP, its PHP pinned per appsudo cipi app convert shop --to=octane (guide)
SearchMeilisearch with a scoped key per app, for Scoutsudo cipi search enable shop (guide)
Real timeLaravel Reverb on the app's own domainsudo cipi app reverb enable shop (guide)

Runtime: PHP, Node, databases, workers#

PHPSeveral versions side by side, each app on its own; php.ini per server or per app (sudo cipi ini set … --app=shop); upgrades without downtime (guide)
NodeOfficial builds, checksum-verified, one major per app (Node apps)
DatabasesMariaDB by default, MySQL instead, PostgreSQL beside it; one database and user per app; backups, restores, password resets (sudo cipi db …)
WorkersLaravel queues and Horizon, Symfony Messenger and the Scheduler, under Supervisor, restarted on the new release after every deploy (sudo cipi worker add …)
Schedulerschedule:run every minute, on and off per app; WordPress's cron from the crontab
Tools on requestA closed catalog, each entry one command: WP-CLI, Claude Code, OpenClaw, ffmpeg, what Browsershot's Chrome needs, LibreOffice, Tesseract, image optimizers, the scanners Hackly runs… (sudo cipi package list)

Operations#

BackupsProfiles of files and databases, encrypted, to the server itself, S3 buckets and SFTP servers on a par; verified, pruned, watched (S3, Storage Box)
Move to a new serversudo cipi sync push takes apps, databases, files and settings across (guide)
Metrics and uptimeCPU, memory, disk, PHP and 5xx per app, uptime from the healthchecks, kept for 7 and 30 days; OpenMetrics for Prometheus (guide)
Monitor and alertsDisk, load, certificates, 5xx, OPcache, backups — to e-mail, Slack, Telegram, Discord, ntfy, Pushover or a webhook, each channel with the events it wants (guide)
PatchingSecurity updates every night — Ubuntu, nginx, PHP, the databases — with a reboot at night only when one is needed (how)
Updates of Cipisudo cipi self-update, nightly by default, with an optional delay
LogsPer app and per type: the app's own (Laravel, Symfony, WordPress, Node), Nginx, PHP-FPM, workers, deploys (sudo cipi app logs shop --types)

Security#

IsolationA Linux user, PHP pool and open_basedir per app; OPcache that never hands one app's cached files to another
FirewallUFW and Fail2ban from the start; CrowdSec on request
SSHKeys, app logins on or off, alerts on every login (guide)
Zero TrustBehind a Cloudflare tunnel with Access, or on a Tailscale or NetBird network — port 22, and even 80/443, closed to the world
SecretsServer configuration encrypted at rest (AES-256), no password on a command line or in a log
MalwareA nightly scan of uploads and file integrity with ClamAV (sudo cipi scan enable)
Auditssudo cipi compliance report: evidence mapped to ISO 27001 and SOC 2 controls
Private appsBasic auth per app, or Access in front of a path

The full list, step by step: Laravel production security checklist.

Ways in#

The CLI on the server is the core. Everything else calls it, with the same checks:

What it is
Web panelSelf-hosted, for any number of servers: apps grouped with their previews, deploys followed live, databases, backups, firewall, Zero Trust, metrics; team roles per server and per app, passkeys, 2FA, single sign-on; integrations with Cloudflare, DigitalOcean, AWS, Sentry, Oh Dear and more (guide)
REST APIEvery action, with tokens limited to the abilities they need
MCPClaude, Cursor and VS Code on your servers and apps, with guardrails (guide)
cipi-cli and the PHP SDKThe API from your laptop, CI or your own Laravel app
Cipi AgentA package for Laravel apps: health endpoint, an MCP server inside the app, GDPR-safe database dumps, and the deploy webhook (guide)
WHMCS moduleSell Laravel and PHP hosting on Cipi servers (guide)
Cipi web panel dashboard with three connected servers, their CPU, memory and disk, apps and recent deploys Cipi web panel dashboard with three connected servers, their CPU, memory and disk, apps and recent deploys
The web panel: every server, every app, in one place — optional, self-hosted, free.

Where to go next#

If you want toRead
Put a Laravel app online todayLaravel on an Ubuntu VPS
Move from Forge or PloiMove a Laravel app from Forge
Run WordPress the way developers doWordPress from Git
Review every branch on a live URLPreview branches
Never ran a server beforeVPS, SSH and DNS basics
Compare Cipi with the alternativesAll comparisons

Questions

Is all of this free?

Yes. Cipi, its web panel, API, MCP servers, CLI client, PHP SDK, WHMCS module and agent are open source under the MIT licence. You pay your VPS provider, nobody else.

Do I need the web panel?

No. Everything is a sudo cipi … command on the server. The panel, the API, cipi-cli and the SDK are optional ways in, and they call the same commands with the same checks.

Does Cipi phone home?

No. Nothing about your servers leaves them: there is no external control plane, no account, no telemetry.

Laravel only?

Laravel first — Octane, Horizon, Reverb, Scout, the agent and MCP — but WordPress, Symfony, Node front ends, Laravel Rust and any PHP app run on the same server, each isolated.

What doesn't Cipi do?

Containers and Kubernetes (by design: native packages, one firewall), mail hosting (send through a provider), and running on a laptop or behind a home NAT. It is a provisioner for internet-facing Ubuntu servers.

Where do I start?

One command on a fresh Ubuntu 24.04 or 26.04 VPS, then the quickstart — or Laravel on a VPS in 15 minutes.

Try it on your own server

Free and open source. One command on a fresh Ubuntu 24.04 or 26.04 VPS.

wget -O - https://cipi.sh/setup.sh | bash
Read the quickstart