v4.7.18 — MIT — 1.1k stars

Easy Laravel deployments.

Laravel-first open-source CLI with AI and MCP — also static sites and generic PHP. One command installs the stack. One command creates an isolated app with database, workers, SSL, and zero-downtime deploys.

cipi · setup
# Fresh Ubuntu 24.04 or 26.04 VPS
$ wget -O - https://cipi.sh/setup.sh | bash

# Create an app
$ cipi app create myapp --domain=myapp.com --php=8.5

OK  Nginx · PHP-FPM · MariaDB · SSL · Deployer

A single VPS becomes a multi-app
LEMP hosting platform

Every app runs under its own Linux user. Isolated filesystem, PHP-FPM pool, and database. One compromised app cannot touch the others.

01Nginx reverse proxyPer-app virtual hosts optimized for Laravel.Web
02Multi PHP & ComposerSelectable per app. Hot-swap PHP 8.3–8.5 and Composer 2.Runtime
03MariaDBAuto-tuned to RAM. Dedicated database and user per app.Data
04Supervisor workersPer-app queue workers with CLI management.Queues
05DeployerZero-downtime releases with instant rollback. Keeps last 5.Deploy
06Let's Encrypt SSLAutomatic certificates via Certbot with SAN for aliases.TLS
07Fail2ban + UFWBrute-force banning, firewall, privilege escalation prevention.Security
08S3 backupsAutomated DB and storage backups to S3-compatible storage.Backup

Who uses Cipi

From solo developers to hosting providers — anyone who ships Laravel on a VPS.

01DevelopersShip without the DevOps overhead. One command gives you isolation, SSL, workers, and zero-downtime deploys.Solo
02AgenciesOne VPS, many clients — each app isolated with its own user, database, PHP version, and deploy key.Teams
03Startups & SaaSAtomic deploys, instant rollbacks, webhook auto-deploy, S3 backups. Grow without changing workflow.Product
04InfrastructureEvery command is a plain shell call — wire into Ansible, provisioning scripts, or internal tooling.Automation

Everything you need,
nothing you don't

Built for Laravel developers who value security, simplicity, and control. CLI-first and bloat-free — just SSH and the cipi command — with an optional web panel the day you want one.

01AI agent readyBuilt-in MCP server — deploy, roll back, back up via natural language in Cursor, VS Code, Claude.Agents
02Optional web GUIInstall a self-hosted panel when you want a browser dashboard. Skip it and stay pure CLI.UI
03Encryption & GDPRVault AES-256 at rest, encrypted sync archives, log rotation, full per-app isolation.Security
04S3 automated backupsDatabases and shared/ to S3 or compatible providers on a cron schedule.Backup
05Sync between serversMigrate, replicate, or recover apps between Cipi servers with encrypted archives.Ops
06Zero-downtime deploysDeployer clones, builds, migrates, and swaps the symlink atomically. Instant rollback.CI/CD
07Webhook auto-deployGitHub/GitLab deploy keys and webhooks configured automatically. HMAC verified.Git
08Laravel-ready stackPHP 7.4–8.5 per app, MariaDB, Valkey, Supervisor, cron — everything Laravel needs.PHP
09REST APIManage apps, aliases, SSL, and deploys with bearer tokens and granular abilities.API
10CLI clientManage your server from your laptop — Go binary for Linux and macOS.Remote
11WHMCS moduleAutomate hosting provisioning from WHMCS — create and terminate apps from billing.Billing
12Aliases & SSLMultiple domains per app. One SAN certificate covering all of them. Auto-renew.Domains
AI-native

From prompt
to production.

Cipi ships with a built-in MCP server ready to use. Install the cipi-agent package, point your AI client to the endpoint, and your assistant can deploy, rollback, read logs, and run Artisan commands — all over HTTPS, no SSH required.

MCP Server included
One package. Six typed tools. Zero config.
cipi-agent exposes health, app_info, deploy, logs, db_query and artisan as MCP tools — ready for Cursor, VS Code, and Claude Desktop.
$ composer require cipi-sh/cipi-agent
  • Works over HTTPS with Bearer token — no SSH keys needed
  • Deploy, rollback, and run migrations via natural language
  • Debug production issues from the comfort of your AI assistant
  • Integrate all your servers with your AI automation pipeline
Cursor VS Code Claude OpenAI OpenClaw Gemini And more...
Claude — cipi MCP server

Works on any Ubuntu VPS

Ubuntu 24.04 or 26.04 LTS, root access, ports 22/80/443 open. That's all you need.

DigitalOcean AWS EC2 Vultr Linode Hetzner Google Cloud OVH Scaleway And more...
Optional

Convenient REST API
when you need it.

Cipi stays CLI-first by default — but when you want to automate, integrate, or let AI agents manage your server globally, enable the optional API layer with a single command. Use REST API to create and manage multiple applications across your infrastructure from a single endpoint. The CLI Client (cipi-cli) brings the full API to your local terminal — manage apps, databases, SSL, and deploys without SSH. A global MCP server is available to let you create and manage your infrastructure through your AI agents, and an official WHMCS provisioning module lets billing panels create and terminate apps automatically.

Learn more about Cipi API
REST API Apps · Aliases · Deploy · Status
Swagger Interactive docs
Tokens Granular permissions
MCP Server AI agents ready
CLI Client Remote management
WHMCS Billing automation
Billing Integration

Sell hosting with
WHMCS, powered by Cipi.

Turn your Cipi server into a hosting business. The official WHMCS provisioning module connects your billing panel to Cipi's REST API — when a customer orders a product, the app is created automatically. Terminate, suspend, unsuspend — everything flows from WHMCS to your server without a single SSH session.

  • Fully automated provisioning — customer orders, app goes live
  • Laravel and custom app types with per-product PHP version and Git settings
  • Async job handling with status polling — no HTTP timeouts
  • Bearer token auth with granular per-ability permissions
  • Test Connection built in — validate API reachability from WHMCS Admin
  • Open source, MIT licensed — extend or white-label as you need
1
Customer orders a product WHMCS receives payment and triggers provisioning
2
Module calls POST /api/apps Creates isolated user, PHP-FPM, Nginx, database — everything
3
App is live Customer's site is provisioned and ready to use
4
Lifecycle managed from billing Suspend, unsuspend, terminate — all from WHMCS Admin
Remote Management

Your server,
from any terminal.

cipi-cli is a standalone Go binary that talks to the Cipi REST API from your local machine. No SSH required — manage apps, databases, SSL certificates, and deployments from any terminal. Available for Linux and macOS.

  • Full app lifecycle — create, edit, deploy, and delete from your machine
  • Database management — create, backup, restore, and rotate passwords
  • SSL provisioning — install Let's Encrypt certificates with one command
  • Domain aliases — add, list, and remove aliases per app
  • JSON output — pipe to jq for scripting and CI/CD pipelines
  • Open source, MIT licensed — pre-built binaries and build from source
cipi-cli
$ cipi-cli apps list
NAME DOMAIN PHP
myapp myapp.com 8.5
blog blog.acme.com 8.4

$ cipi-cli deploy myapp
Deploying myapp...
Deployed to release #14. Zero downtime.

$ cipi-cli ssl install myapp
Certificate provisioned for myapp.com

$ cipi-cli db backup myapp
Backup: myapp_20260402.sql.gz
Optional Web Panel

A GUI, only if
you want one.

Cipi is CLI-first — and always will be. But when a browser dashboard fits you or your clients better, a single command installs the optional web control panel: a self-hosted Laravel app that manages one or many Cipi servers over the same REST API. Don't need it? Don't install it — nothing changes.

  • One command to install — cipi gui panel.example.com
  • Manage apps, SSL, logs, and databases from the browser
  • One panel, many servers — a lightweight multi-server cockpit
  • Session login with optional TOTP two-factor authentication
  • Self-hosted and open source — your panel, your server, your data
  • Uninstall any time — cipi gui remove — back to pure CLI
install the panel
$ cipi gui panel.example.com
Provisioning PHP-FPM pool, Nginx vhost, scheduler…
Admin email: ops@example.com
Admin password: ••••••••••••
Panel ready at http://panel.example.com

$ cipi gui ssl
Certificate provisioned — https://panel.example.com

# Optional. Cipi still runs perfectly without it.

Deploy your Laravel app today

Open source, MIT licensed, free forever. Install on your VPS and start deploying in minutes.

cipi — live demo
$ wget -O - https://cipi.sh/setup.sh | bash
GitHub Repository Read the Docs Sponsorship