hadyfayed/laravel-agent/laravel-deploy

Claude Code and agent skill by hadyfayed/laravel-agent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Laravel deployment — Forge, Vapor, Docker, Bref (AWS Lambda), traditional servers, zero-downtime releases, environment/secrets, CI/CD pipelines, and Envoy task runner. Use when deploying, configuring hosting/servers, going to production, or wiring up CI/CD. Triggers: "deploy", "production", "hosting", "server", "Forge", "Vapor", "Docker", "AWS", "Bref", "Lambda", "CI/CD", "release", "go live", "rollback".

Install

npx vskill@latest install hadyfayed/laravel-agent/laravel-deploy

SKILL.md

The same SKILL.md was published earlier as hadyfayed/laravel-agent/laravel-deploy.

Laravel Deploy Skill

Deploy Laravel applications to production across Forge, Vapor, Docker, Bref, or traditional servers.

When to Use

  • Setting up deployment
  • Configuring production servers
  • Docker containerization
  • CI/CD pipeline setup
  • Cloud deployment (AWS, GCP, DigitalOcean)
  • Zero-downtime releases and rollback
  • Environment/secrets management

Quick Start

bash
/laravel-agent:deploy:setup <platform>

Conventions Checklist

Environment
  • [ ] APP_ENV=production, APP_DEBUG=false, valid APP_URL
  • [ ] Strong APP_KEY set; secrets never committed to git
  • [ ] CACHE_DRIVER, SESSION_DRIVER, QUEUE_CONNECTION set to redis (not local file)
  • [ ] LOG_LEVEL=error (not debug) in production
  • [ ] .env exists and is checked before deploy
Optimization (run before/after deploy)
  • [ ] composer install --no-dev --optimize-autoloader
  • [ ] php artisan config:cache
  • [ ] php artisan route:cache
  • [ ] php artisan view:cache
  • [ ] php artisan event:cache
Database & Queues
  • [ ] Run php artisan migrate --force in the deploy script
  • [ ] Test migrations on staging first
  • [ ] php artisan queue:restart after deploy (workers cache old code)
  • [ ] Restart Horizon (horizon:terminate) / Octane (octane:reload) if present
Zero-Downtime
  • [ ] Symlink-based releases (current → releases/<ts>)
  • [ ] Shared .env and storage linked across releases
  • [ ] Keep last 5 releases for instant rollback
  • [ ] Health check endpoint (/health) returning 200/503
CI/CD
  • [ ] Run tests in CI before deploy (php artisan test)
  • [ ] Deploy step gated on the main branch
  • [ ] Secrets via CI secret store, never in the repo

Common Pitfalls

  1. Forgetting migrations — always include php artisan migrate --force in the deploy script
  2. Not caching in production — run ALL cache commands (config, route, view, event)
  3. Missing queue restart — workers cache old code; run php artisan queue:restart
  4. Incorrect file permissions — chmod -R 775 storage bootstrap/cache, owned by the web user
  5. Missing environment variables — verify .env exists with required values before deploy
  6. Not testing locally first — run php artisan config:cache + tests locally, then config:clear
  7. No rollback strategy — keep previous releases; use symlinks for instant rollback

Best Practices

  • Always backup before deploying
  • Use zero-downtime deployments
  • Monitor after each deploy (Pulse, Sentry, New Relic)
  • Use environment-specific configs
  • Set up health check endpoints and alerting for failures

Monitoring

  • Laravel Pulse — Application monitoring
  • Sentry — Error tracking
  • New Relic — APM
  • Laravel Telescope — Debug (dev only)

Related Commands

  • /laravel-agent:deploy:setup — Configure deployment
  • /laravel-agent:cicd:setup — Setup CI/CD pipeline

Related Agents

  • laravel-deploy — Deployment specialist
  • cicd-setup — CI/CD pipeline specialist skill

Additional references

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
Repository forks
1
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hadyfayed/laravel-agent/laravel-deploy/badge)](https://verified-skill.com/skills/hadyfayed/laravel-agent/laravel-deploy)

Something wrong with this skill or its page? Tell us.