Back to rankings

cipi-sh/cipi

Shellcipi.sh

Easy Laravel Deployments

deploymentlemplemp-stacklaravelphpphp-fpmcloudawsnginxvpsvps-setupvps-admin
Star Growth
Stars
1.1k
Forks
214
Weekly Growth
โ€”
Issues
2
8009001k1.1k
Mar 26Apr 26Jun 26Jul 26
README
Cipi logo

Cipi

Easy Laravel Deployments
One command installs a complete production stack. One command deploys your app.
No panel, no bloat โ€” so you can focus on what you love: building your application.

Website ยท Docs ยท Report a bug


What is Cipi?

Cipi turns any Ubuntu VPS into a multi-app PHP hosting platform โ€” Laravel by default, with full isolation, zero-downtime deploys, SSL, queue workers, and S3 backups โ€” all managed from a single CLI. Use --custom for simple sites: classic deploy (no releases/shared), configurable docroot and Nginx (try_files, entry point), no DB or cron.

No web panel. No bloat. No sleepless nights fighting Nginx configs or PHP-FPM pools.
Just SSH and the cipi command.

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

Works on DigitalOcean, AWS EC2, Hetzner, Vultr, Linode, OVH, Google Cloud, Scaleway, and more.


From zero to production in 3 steps

1. Install Cipi on a fresh Ubuntu 24.04 or 26.04 VPS (~10 minutes):

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

2. Create your app (Laravel by default, or cipi app create --custom for a simple deploy):

cipi app create
# username, domain, git repo, branch, PHP version
# โ†’ Laravel: user, DB, Nginx, workers, cron, webhook
# โ†’ Custom: user, Nginx, PHP-FPM; Git optional (empty = SFTP-only to ~/htdocs)

3. Deploy and go live:

cipi deploy myapp
cipi ssl install myapp

That's it. Your Laravel app is live.


Stack

Every app gets a fully isolated environment. Laravel (default): zero-downtime deploy, DB, workers, cron, webhook. --custom: classic deploy into htdocs, configurable docroot only; Nginx uses index index.html index.php, try_files $uri $uri/ /index.php?$args, error_page 404 /404.html. No DB, no .env, no cron, no workers.

Component Details
Web server Nginx reverse proxy with per-app virtual hosts, optimized for Laravel
PHP & Composer Selectable per app โ€” PHP 7.4 to 8.5, hot-swappable
Database MariaDB, auto-tuned to RAM, dedicated DB and user per Laravel app
Queue workers Supervisor with per-app pools (Laravel) โ€” add, scale, monitor
Deployments Deployer โ€” Laravel: atomic symlink, 5 releases, rollback; Custom: clone into htdocs
SSL Let's Encrypt via Certbot with SAN support and auto-renewal
Security Fail2ban + UFW, per-app Linux user + PHP-FPM pool + SSH key
Backups Automated DB and storage dumps to S3 or any compatible provider

Features

๐Ÿ”’ Security & Isolation by Design

Each app runs under its own Linux user with an isolated filesystem, PHP-FPM pool, and database. A compromise in one app cannot touch the others. Configs are encrypted at rest with AES-256 (Vault). GDPR-compliant log rotation included.

โšก Zero-Downtime Deploys

Deployer clones your repo, runs composer install, links storage, runs migrations, and swaps the symlink atomically. Roll back to any of the last 5 releases instantly.

๐Ÿ”— Webhook Auto-Deploy

Native GitHub and GitLab integration โ€” deploy keys and webhooks configured automatically. HMAC signature verification. Or plug in any custom Git provider.

๐Ÿ“ฆ App Types

Laravel (default) โ€” zero-downtime deploy with releases, shared storage, workers, scheduler, webhook. --custom โ€” for simple sites (e.g. WordPress, static+PHP): classic deploy into htdocs (no current/shared), choose docroot only (e.g. /, www, dist). Nginx: index index.html index.php, try_files $uri $uri/ /index.php?$args, error_page 404 /404.html. No DB, no .env, no cron, no workers, no webhook โ€” just Nginx, PHP-FPM, and deploy key.

๐ŸŒ Aliases & SSL

Add multiple domains or subdomains to any app. A single SAN certificate covers all of them. Auto-renew handles the rest.

๐Ÿค– AI Agent Ready (MCP)

Cipi ships with a built-in MCP server. Laravel first: install the cipi-agent Laravel package, point your AI client at the endpoint, and deploy, rollback, query logs, and run Artisan commands via natural language โ€” no SSH required.

Works with Claude, Cursor, VS Code, OpenAI, Gemini, and more.

composer require cipi/agent

MCP tools exposed: health, app_info, deploy, logs, db_query, artisan.

๐Ÿ”Œ REST API (optional)

When you need to manage apps programmatically or integrate with external pipelines, enable the optional API layer with a single command. Bearer tokens, granular permissions, OpenAPI spec available, interactive Swagger docs.

๐Ÿ–ฅ๏ธ Web GUI (optional)

Multi-server control panel for operators who prefer a browser over SSH. Register N Cipi servers with API tokens, switch between them from any page, and manage apps, databases, deploys, SSL, aliases, and logs with Livewire UI and async job overlays. Install with cipi gui <domain> โ€” requires cipi api on each managed server. Session login with optional Google Authenticator 2FA.

GitHub

๐Ÿ” Sync Between Servers

Move entire stacks or single apps between Cipi servers โ€” for migration, failover, or disaster recovery. Archives are encrypted in transit.

๐Ÿ–ฅ๏ธ CLI Client

A standalone Go binary that talks to the Cipi REST API from your local machine โ€” no SSH required. Manage apps, databases, SSL, aliases, and deployments from any terminal. Pre-built binaries for Linux and macOS (amd64/arm64).

Docs ยท GitHub

๐Ÿ›’ WHMCS Module

An official provisioning module that bridges the WHMCS lifecycle to the Cipi REST API โ€” automate app creation, deletion, SSL certificates, deployments, and package changes for your hosting customers. Self-contained drop-in, no Composer dependencies.

Docs ยท GitHub


Who uses Cipi?

  • Solo developers โ€” ship Laravel first, without the DevOps overhead
  • Agencies โ€” one VPS, many isolated client projects (Laravel first), onboard a new client in minutes
  • Startups & SaaS โ€” atomic deploys, instant rollbacks, grow without changing your workflow
  • Datacenters & automation pipelines โ€” every Cipi command is a plain shell call, wire it into Ansible or any provisioning script

Requirements

  • Ubuntu 24.04 LTS or 26.04 LTS (no other releases)
  • Root access
  • Ports 22, 80, 443 open

Documentation

Full docs at: cipi.sh/docs


Contributing

Cipi is open source and MIT licensed. Issues, PRs, and feedback are welcome on GitHub.


Made with โค๏ธ by Andrea Pollastri

Related repositories
coollabsio/coolify

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+ one-click services on your own servers.

PHPPackagistApache License 2.0nodejsmysql
coolify.io
59.2k5.1k
ray-project/ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

PythonPyPIApache License 2.0raydistributed
ray.io
43.3k7.8k
fastlane/fastlane

๐Ÿš€ The easiest way to automate building and releasing your iOS and Android apps

RubyRubyGemsMIT Licensefastlaneautomation
fastlane.tools
41.9k6k
Dokploy/dokploy

Open Source Alternative to Vercel, Netlify and Heroku.

TypeScriptnpmOtherdeploymentself-hosted
dokploy.com
36k2.8k
NirDiamant/agents-towards-production

End-to-end, code-first tutorials for building production-grade GenAI agents. From prototype to enterprise deployment.

Jupyter NotebookOtheragentagent-framework
diamant-ai.com
21.1k2.8k
caprover/caprover

Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids

TypeScriptnpmOtherwebserverdocker
caprover.com
15.1k984
DataTalksClub/machine-learning-zoomcamp

Learn ML engineering for free in 4 months! Register here ๐Ÿ‘‡๐Ÿผ

Jupyter Notebookcoursedeployment
airtable.com/shryxwLd0COOEaqXo
13.7k3.1k
capistrano/capistrano

A deployment automation tool built on Ruby, Rake, and SSH.

RubyRubyGemsMIT Licensedeploymentssh
capistranorb.com
13k1.7k
deployphp/deployer

The PHP deployment tool with support for popular frameworks out of the box

PHPPackagistMIT Licensephpdeployment
deployer.org
11.1k1.5k
xorbitsai/inference

Swap GPT for any LLM by changing a single line of code. Xinference lets you run open-source, speech, and multimodal models on cloud, on-prem, or your laptop โ€” all through one unified, production-ready inference API.

PythonPyPIApache License 2.0ggmlpytorch
inference.readthedocs.io
9.4k847
AppImage/AppImageKit

Package desktop applications as AppImages that run on common Linux-based operating systems, such as RHEL, CentOS, openSUSE, SLED, Ubuntu, Fedora, debian and derivatives. Join #AppImage on irc.libera.chat

COtherappimageapplications
appimage.org
9.4k588
apex/up

Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.

GoGo ModulesMIT Licensedeploymentaws
up.docs.apex.sh
8.8k385