Friday, October 3, 2025

Ghostable Expands Deployment Support: Vapor, Forge, and Encrypted Envs

Ghostable now supports advanced deployment commands for Laravel Forge and Vapor, including automatic encryption and AWS Secrets Manager support.

Ghostable Expands Deployment Support: Vapor, Forge, and Encrypted Envs

Vapor Support

Ghostable now provides a first-class deployment command for Laravel Vapor, giving you tighter integration and advanced configuration for secrets management.

ghostable deploy:vapor --vapor-env=production

AWS Secrets Manager Integration

Vapor enforces a 2KB environment size limit when deploying to AWS Lambda. To help manage larger or sensitive values, Vapor integrates with AWS Secrets Manager.

Starting today, Ghostable supports this workflow directly. When your project’s Deployment Provider is set to Laravel Vapor, you’ll see a new option in the Variable Editor: Store as Vapor Secret.

  • Enabling this toggle syncs the selected variable back to Vapor as a secret.
  • Vapor then pushes the value to AWS Secrets Manager, making it available to your Lambda functions at runtime.
  • This approach helps avoid hitting the 2KB limit while keeping sensitive values secure.

A screenshot of Ghostable UI for toggling Store as Vapor Secret on variables

Encryption for Forge & Vapor

Starting today both Forge and Vapor specific deployment commands now support environment encryption out of the box.

ghostable deploy:forge --encrypted
ghostable deploy:vapor --vapor-env=production --encrypted

When you add the --encrypted flag:

  • Ghostable bundles and encrypts your non-secret environment variables.
  • Ghostable automatically generates and injects the required LARAVEL_ENV_ENCRYPTION_KEY into Forge or Vapor so decryption works seamlessly at runtime.

This means:

  • ✅ No more committing encrypted .env files to your repo.
  • ✅ No more merge conflicts caused by team members editing encrypted files.
  • ✅ Automatic runtime decryption with no extra setup.

Documentation

Want to start using these new deployment features right away?
Check out the step-by-step guides in our documentation:

These guides walk through adding the new deploy:vapor and deploy:forge commands to your deployment scripts, enabling encryption, and configuring secrets where needed.

Want product news and updates?

Sign up for our newsletter.

Email Address

We care about your data. Read our privacy policy.