gvp / gvp-laravel-template
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
Requires
- php: ^8.3
- inertiajs/inertia-laravel: ^3.0
- laravel/fortify: ^1.34
- laravel/framework: ^13.7
- laravel/tinker: ^3.0
- laravel/wayfinder: ^0.1.14
- spatie/laravel-login-link: ^1.6
- spatie/laravel-permission: ^7.4
Requires (Dev)
- fakerphp/faker: ^1.24
- laravel/boost: ^2.4
- laravel/pail: ^1.2.5
- laravel/pao: ^1.0.6
- laravel/pint: ^1.27
- laravel/sail: ^1.53
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.9.3
- pestphp/pest: ^4.6
- pestphp/pest-plugin-drift: ^4.1
- pestphp/pest-plugin-laravel: ^4.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.comwith passwordtest1234and theAdminrole.user@test.comwith passwordtest1234and 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.