What is Ghostable?

Ghostable is a secure, collaborative platform for managing, validating, and sharing environment variables in Laravel applications. Ghostable simplifies configuration management, enabling you to effortlessly secure and scale your development workflows. Ghostable abstracts the complexity of securely handling sensitive environment data, ensuring consistency and compliance across your projects and teams. With Ghostable, you’ll benefit from:
  • Secure Sharing & Management: Safely share environment variables across teams, projects, and CI/CD pipelines.
  • Built-In Validation: Automatically enforce validation rules to ensure your environment variables adhere to best practices.
  • Comprehensive Versioning: Track every change with full history and instant rollbacks to previous environment configurations.
  • Granular Access Control: Precisely manage permissions at the user, team, and project level.
  • Encrypted Storage: All environment variables are stored securely using industry-standard AES-256-GCM encryption.
  • CI/CD Integration: Seamlessly integrate Ghostable into your automated testing and deployment workflows.
  • Activity Logging: Complete audit trails of environment variable interactions for compliance and security audits.
  • Easy Local Inspection: Effortlessly pull environment variables locally for debugging and testing.
  • API Driven: Full-featured API to integrate with third-party compliance tools, monitoring platforms, and AI-powered workflows.
  • Customizable Validation: Define custom validation rules to meet the unique requirements of your environments.
In short, you can think of Ghostable as your central hub for secure, compliant, and collaborative environment variable management—built specifically with Laravel developers in mind.

Requirements

Ghostable requires that your application be compatible with PHP 8.1+ and Laravel 10.0+.

Account Creation

Before integrating Ghostable into your workflow, you’ll first need to create a Ghostable account. If you’re collaborating on projects managed by others, a Ghostable subscription isn’t necessary. Start here: Register for Ghostable

Installing the Ghostable CLI

You will interact with your Ghostable environments using the Ghostable CLI. The CLI can be installed globally or on a per-project basis using Composer:

Per-project installation:

composer require ghostable-dev/cli --update-with-dependencies

Global installation:

composer global require ghostable-dev/cli --update-with-dependencies

When installing the CLI per-project, you’ll typically execute it via your project’s vendor/bin directory, where Composer installs executables. For example, to view all available Ghostable CLI commands:
php vendor/bin/ghostable list
To save keystrokes, you can add a shell alias that maps ghostable to php vendor/bin/ghostable:
alias ghostable="php vendor/bin/ghostable"

Exploring Commands

To explore a command’s functionality and its arguments in detail, use the help command with the specific command name:
ghostable help env:push

Logging In

After installing the Ghostable CLI, authenticate with your Ghostable account using the login command:
ghostable login

Teams

When you create a Ghostable account, a Personal team is automatically created for you. This team is private, cannot be renamed or shared, and is perfect for solo developers working on personal projects. All projects and environments in Ghostable belong to a team. You can join other teams as a collaborator, or create your own shared teams to organize work by client, organization, or topic.

Current Team & Switching Teams

When working with the Ghostable CLI, you’ll often need to know which team is currently active. To check your current team:
ghostable team:current
To switch to another team:
ghostable team:switch

Collaborators

You can invite others to your shared teams using the Ghostable web app: You’ll be able to assign specific roles and permissions, such as read-only or read-write access to environment variables. Our Terms of Service and Privacy Policy outline the terms, conditions, and privacy practices for using Ghostable. By using Ghostable, you agree to these policies.