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
The forge env:pull
command allows you to pull the current environment file of your Laravel Forge site to your local filesystem.
The naming convention is:
.env.forge.[ENVIRONMENT]
So by running forge env:pull
, Forge CLI will write the current environment file to .env.forge.production
.
Running forge env:pull staging
would create a file called .env.forge.staging
.
Herd is a blazing fast, native Laravel and PHP development environment for macOS. It includes everything you need to get started with Laravel development, including PHP and nginx. Once you install Herd, you're ready to start developing with Laravel.
Herd is available for macOS and Windows.
Learn more