Create a new Laravel project
Getting up and running with a new Laravel project with Spin is easy. It's recommended to install Spin globally so you can easily create new projects. Follow the installation instructions for macOS, Linux, or Windows before continuing.
Spin New Laravel Project
We created a command called spin new
, which will create a new Laravel project for you.
Create a new Laravel project called "spin-demo"
spin new laravel my-billion-dollar-idea
This will create a project in your current directory called my-billion-dollar-idea
. You can also specify a path to create the project in a different directory.
Assuming you completed the prerequisites, the onboard wizard will take you through the process so you can get a local development environment with spin up
.