Tinkerwell 4 is out now! Get the most popular PHP Scratchpad application. Tinkerwell 4 is out now: Get the most popular PHP Scratchpad with Detail Dive, AI code generation and more. Learn more
Forge CLI allows you to link and manage multiple sites and servers to one working directory.
This is especially useful, when you have multiple environments for your project (for example staging and production).
All Forge CLI commands allow you to pass the environment that you want to target as an additional command line argument. The default environment is always "production".
# This will link Forge with a site for the "production" environment
# This will link Forge with a site for the "staging" environment
forge init staging