Search by

gvp / gvp-laravel-template

gvpiche

A Laravel React starter template with local login links and default admin/user seed data.

Package info

github.com/gvpiche/gvp-laravel-template

Language:TypeScript

Type:project

pkg:composer/gvp/gvp-laravel-template

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.5 2026-05-01 23:41 UTC

This package is auto-updated.

Last update: 2026-11-07 21:52:38 UTC


README

A Laravel React starter template for new applications created with laravel new --using.

Requires PHP 8.4+ and Node.js 22.12+.

Usage

laravel new my-app --using=gvp/gvp-laravel-template

The template includes Laravel's React starter kit, Pest with browser testing, Laravel Boost, the Laravel AI SDK, S3 filesystem support, Spatie Permission, and Spatie Login Link.

After installation, the database is migrated and seeded with:

  • admin@test.com with password test1234 and the Admin role.
  • user@test.com with password test1234 and no role.

In local environments, the login page displays shortcuts for both seeded users.

The Laravel installer handles frontend dependencies and assets. Use --npm to install and build them, or --no-node to skip them. After selecting a different database, run php artisan db:seed --class=UserSeeder to seed its local users.

Testing

npm ci
npm run build
npx playwright install chromium
composer run ci:check

Tests use an in-memory SQLite database. AI tests use fake responses, and S3 tests do not contact AWS.