Statamic on Kubernetes
Flat-file and database CMS on Laravel.
larakube statamic:newStatamic is Laravel underneath, so it gets the same machinery: a production image, Kubernetes manifests and the Laravel features you want — scaffolded from Statamic's own starter.
The Statamic scaffolder is written but has not been run end to end yet. Try it, but don't promise it to a client until this badge turns green.
🚀 Create a project
larakube statamic:new site
LaraKube CLI runs composer create-project statamic/statamic inside a container, with the gd and exif extensions Statamic's image handling needs, then asks:
| Choice | Options | With --fast |
|---|---|---|
| PHP version | Supported PHP versions | PHP 8.4 |
| Laravel features | Scheduling, queues, Horizon and the rest — see Laravel | Defaults |
| Database | PostgreSQL, MySQL, MariaDB, SQLite | Default |
| Cache | Redis and alternatives | Redis |
| Object storage for assets | None (local filesystem), MinIO (recommended), SeaweedFS, Garage | MinIO |
| Search | None, plus the supported engines | None |
🧱 What LaraKube CLI adds
The same as a Laravel project: Dockerfile.php, the Kubernetes manifests in .infrastructure/, the .larakube.json blueprint, and service values in .env. Laravel's /up route is the health check.
🏘️ Shared services from the Plex Commons
After scaffolding, statamic:new joins the cluster's Plex Commons for its database, cache and storage. Pass --no-plex to keep your own pods.
💻 Run it locally
cd site
larakube up
larakube art make:statamic-user
The last command creates your first control panel user.
☁️ Deploy
larakube env production
larakube cloud:deploy production