What The Diff: Get AI-powered pull request summaries and weekly reports automatically. Create free account

Forge CLI

Pull environment files

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.

Its time to Tinkerwell

The must-have tinker tool for every PHP and Laravel developer. This magical desktop app may not be able to fly. But when it comes to PHP code, it sure knows how to run.

Learn more