Skip to content

Setup

Requirements

  • PHP 8.3 or newer with the usual Laravel extensions
  • Composer 2
  • Node.js 20 or newer

Your edition

The kit ships two, apps/saas (React) and apps/vue (Vue), and the steps are the same in either. See Editions if you have not chosen yet; a repository you bought contains one of them.

bash
cd apps/saas          # or apps/vue, whichever edition you have
composer install
npm install
cp .env.example .env        # skip if .env already exists
php artisan key:generate
touch database/database.sqlite
php artisan migrate
npm run build

npm run build is not optional before running the suite: several feature tests render Inertia pages and fail without a Vite manifest in public/build.

Then either composer run dev (server, queue worker, logs and Vite together) or php artisan serve alongside npm run dev.

Docs site

bash
cd apps/docs
npm install
npm run docs:dev

Tests

bash
cd apps/saas && php artisan test   # or apps/vue

Laraspring is a commercial starter kit. Buying it gets you the source.