Creating Projects

Ghostable projects can be created using the Ghostable UI or the CLI:

ghostable project:init

We recommend using the Ghostable UI if you’re starting fresh. It provides a streamlined interface to name your project, assign it to a team, and immediately begin managing environments.

If you’re working with an existing Laravel project, run the project:init command inside your project directory:

ghostable project:init

This command will walk you through selecting a team, naming your project, and linking it to your local .env file. It will also generate a .ghostable.yml config file in the root of your project. This file tracks metadata like your project ID and environment associations.


Projects & Teams

Before creating a project, make sure you’re on the correct team. You can view and switch your current team using:

ghostable team:current
ghostable team:switch

To view all projects for the current team:

ghostable project:list

Deleting Projects

Projects can only be deleted through the Ghostable web app. This action is not available via the CLI.

When you delete a project, all associated environments and their stored .env data will be permanently removed. This action is irreversible, so proceed with caution.

Ghostable does not delete any data outside of its own system. If you’ve pulled or synced .env files to your local machine or other services, those copies will remain until removed manually.