Statamic deployment options
Reviewed
Markdown ↓Learn about the options to deploy your Statamic project on fortrabbit.
Get ready
- Have a local development environment with PHP and a web server ready.
- Have Statamic installed and running locally.
Deployment considerations
Statamic sits between legacy CMS software and modern PHP frameworks. Like Grav and Kirby, it is file-based — content lives as text files on the file system — but being built on Laravel it also uses Composer. This means both file-sync and Git-based flows are viable, depending on your project.
If you intend to use Statamic with a database, book the database component and set up database import/export.
Deployment options
1 - SFTP upload
Upload all contents of your local Statamic folder - including the hidden .htaccess file and the vendor folder — into the htdocs directory of your environment. A good starting point if you are new to web development, but consider moving to rsync for anything recurring.
2 - rsync
A scriptable command-line flow that works in both directions: push template and config changes up, pull content down. Easy to automate with AI agents. See the general rsync article. A good fit for solo projects and quick demos.
3 - Git + rsync
The most advanced option, suited for team projects. Manage code with Git for revision history and deployment automation (composer install, cache clearing, migrations); sync content separately with rsync. See Git + rsync deployment for Statamic.