تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

laravel-cloud

بواسطة florianbeer

Web & Frontend Development
600التنزيلات وفق ما يذكره clawskills.sh
4النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Manage Laravel Cloud infrastructure via API — apps, environments, deployments, databases, caches, domains, scaling.

الوصف

ما الذي تفعله هذه المهارة

Wraps the Laravel Cloud REST API in a single bash script. Covers apps, environments, deployments, databases, caches, domains, WebSockets, object storage, and more. All operations map to simple CLI commands.

Replaces manual dashboard clicks with scriptable commands that fit naturally into automation workflows and CI/CD pipelines.

متى تستخدمها

  • Triggering a production deployment from a CI pipeline
  • Scaling environment instances after a traffic spike
  • Rotating environment variables across staging and production
  • Provisioning a new MySQL database cluster for a project
  • Streaming logs from a running environment during debugging

مثال على سير العمل

الإدخال

User asks: deploy my Laravel app to production and run migrations

الوكيل
  1. 1

    Run laravel-cloud apps list to find the app ID

  2. 2

    Run laravel-cloud envs list <app-id> to identify the production environment ID

  3. 3

    Run laravel-cloud deployments initiate <env-id> to trigger the deployment

  4. 4

    Run laravel-cloud commands run <env-id> --command "php artisan migrate --force" to execute migrations

  5. 5

    Run laravel-cloud envs logs <env-id> to confirm deployment output

الإخراج

Production environment redeployed and database migrations applied

المتطلبات

  • LARAVEL_CLOUD_API_TOKEN environment variable — generate at cloud.laravel.com under Settings → API Tokens

التثبيت

clawhub install florianbeer/laravel-cloud

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط