Tinkerwell 4 is out now! Get the most popular PHP Scratchpad application. Learn more

Forge CLI

Logging In

Before you can link your existing Laravel Forge sites to your local directores - or create new sites - you will need to authenticate and login with your Laravel Forge credentials.

You can do this via:

forge login

This script will ask you for your Laravel Forge login credentials to create an API token, that will be used for additional requests.

The API token will be stored in your home directory: ~/forge/config.php.

Now you can go and either create a new site, or link an existing site from Forge.

Learn everything about Laravel Websockets

Kickstart your Laravel Websockets project with this in-depth video course – sign up to our newsletter and get a notification when it launches.

Desktop Apps With Electron course