An opinionated Laravel Forge CLI tool.
Use forge login
to create a Forge API Token that will be used for future API requests.
To link an existing project with Laravel Forge, call forge init
.
This command can also create a new site on Forge if you want.
You can pull down the environment file that is currently used on Forge using forge env:pull
.
This will write a file called .env.forge
.
To push this file to Forge again, call forge env:push
.
You can pull down the site nginx configuration file using forge nginx:pull
.
This will write a file called nginx-forge.conf
.
To push this file to Forge again, call forge nginx:push
.
You can also deploy the current Forge project again by running forge deploy
.
If you add the --update-script
option, this will use the deployment script configured in your forge.yml
file and update it prior to deploying your site.
Once you have made changes to your forge.yml
file, use the forge config:push
command to synchronize your local settings to Forge.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.