springloadedco/forge-review-apps

A CLI tool for managing your review apps on Laravel Forge.

v0.0.12 2024-01-23 23:42 UTC

This package is auto-updated.

Last update: 2024-04-24 00:24:40 UTC


README

This CLI tools makes manage your review apps via Forge a breeze! This tool has two commands:

  1. deploy-site:
  • Creates the site if it does not already exist
  • Creates the database if it does not already exist
  • Deploys the site
  1. delete-site:
  • Deletes the site
  • Deletes the database

Installation

composer global require springloadedco/forge-review-apps

Setup

You'll need to set a few environment variables via the .env file:

FORGE_CLI_TOKEN=
FORGE_SERVER_ID=
FORGE_ROOT_DOMAIN=
FORGE_GIT_PROVIDER=
FORGE_APP_REPOSITORY=

The FORGE_ROOT_DOMAIN should be the root domain without any leading periods, ie: example.com