thundrlabs/thundr-cli
最新稳定版本:v1.0.4
Composer 安装命令:
composer require thundrlabs/thundr-cli
包简介
Thundr CLI for managing Laravel and Statamic sites.
README 文档
README
Thundr is a PHP CLI tool for managing Laravel and Statamic sites on your servers—without SSHing in manually. It helps you provision, deploy, configure, and maintain sites using a simple thundr.yml file.
Features
- 🔧 Site provisioning with PHP, Nginx, MySQL, Redis, and more
- 🔐 SSL via Let's Encrypt or Cloudflare Origin Certificates
- ⚙️ Scheduler and cron management
- 📦 Zero-downtime deployments with shared
.env, releases, and rollbacks - 🛠 Remote
.env, logs, and Artisan command execution - 📂 Multiple server support with centralized global config
- 🧼 Rollback support and automatic release pruning
Requirements
- PHP 8.1+
- Laravel or Statamic project
thundr.ymlfile in your project root- Remote server with SSH access (
thundruser will be provisioned)
Installation
composer global require thundrlabs/thundr-cli
Make sure Composer's global vendor/bin directory is in your $PATH.
Quick Start
It's best to start with a clean install of Ubuntu 24.04 or Oracle Linux 9.
-
Initialize global config:
thundr config:init
-
Provision the server (installs PHP, Nginx, MySQL, Redis, Node via NVM, etc.):
thundr server:provision
-
Set up your project:
thundr site:init
-
Provision the site on the server:
thundr site:create
-
Deploy the project:
thundr site:deploy
Example thundr.yml
production: root_domain: example.com repo: user/repo.git branch: main php_version: '8.3' project_type: laravel server: my-production-server operating_system: ubuntu
Full Command Reference
We’ve documented each command with descriptions, usage examples, and notes:
Contributing
Pull requests and suggestions are welcome! Please open an issue or submit a PR.
License
MIT
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-04