Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

laravel-forge

bởi florianbeer

DevOps & Cloud
361Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Manage Laravel Forge servers, sites, deployments, databases, integrations, and more via the Forge API.

Mô tả

Kỹ năng này làm gì

A bash script wrapper for the Laravel Forge API covering servers, sites, deployments, databases, PHP management, and integrations. Commands are scoped by organization, server, or site depending on the resource.

Lets you manage the full Forge lifecycle from the command line without opening the dashboard, making it scriptable in CI pipelines or agent workflows.

Khi nào nên dùng

  • Deploy a Laravel app to a new DigitalOcean server
  • Run database migrations on a production site
  • Rotate firewall rules before a security audit
  • Set up automated daily database backups to S3
  • Install and configure Laravel Horizon on a live site

Quy trình ví dụ

ĐẦU VÀO

User asks: deploy the latest code to site 67890 on server 12345 and run migrations

AGENT
  1. 1

    Run laravel-forge deployments deploy 12345 67890 to trigger deployment

  2. 2

    Poll laravel-forge deployments list 12345 67890 until the latest entry shows success

  3. 3

    Run laravel-forge commands run 12345 67890 --command 'php artisan migrate --force'

  4. 4

    Fetch output with laravel-forge commands output 12345 67890 <command-id>

ĐẦU RA

Deployment complete and migrations applied; command output confirms no errors

Yêu cầu

  • LARAVEL_FORGE_API_TOKEN environment variable (generate at forge.laravel.com → Profile → API)
  • Laravel Forge account

Cài đặt

clawhub install florianbeer/laravel-forge

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết