Skip to content

An opinionated Laravel Forge CLI tool

License

Notifications You must be signed in to change notification settings

squatto/forge-cli

 
 

Repository files navigation

Forge CLI

An opinionated Laravel Forge CLI tool.

Usage

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.

Env files

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.

Nginx config

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.

Syncing configuration

Once you have made changes to your forge.yml file, use the forge config:push command to synchronize your local settings to Forge.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

An opinionated Laravel Forge CLI tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 100.0%