springloadedco / forge-review-apps
A CLI tool for managing your review apps on Laravel Forge.
Installs: 1 770
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- laravel/forge-sdk: ^3.14
- nunomaduro/termwind: ^1.15.1
Requires (Dev)
- laravel-zero/framework: ^10.2
- laravel/pint: ^1.13
- mockery/mockery: ^1.6
- pestphp/pest: ^2.22
README
This CLI tools makes manage your review apps via Forge a breeze! This tool has two commands:
deploy-site
:
- Creates the site if it does not already exist
- Creates the database if it does not already exist
- Deploys the site
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