spin new <template-name> <project-name>
<template-name> can either be an "official template" provided by the Spin team, or any GitHub repository in the format of username/repo.Getting started with a new project is easy with Spin. Simply run the spin new command followed by your project name and Spin will create a new project for you with Spin installed.
We only have one official template right now, but we're working to add more templates. This Laravel template that will get you up and running with the latest stable version of Laravel with the default configurations running SQLite.
spin new laravel
By default, Spin will use the framework's default project name and create the project in the current directory of where you're running Spin. If you'd like to specify your own project name, simply add it as the second argument to the spin new command.
spin new laravel my-billion-dollar-idea