simaocurado/starter-kit-react
最新稳定版本:v1.0.6
Composer 安装命令:
composer create-project simaocurado/starter-kit-react
包简介
The skeleton application for the Laravel framework.
关键字:
README 文档
README
An opinionated starter kit for building Laravel + React apps with a strong focus on quality, typing, and consistency. It currently targets Laravel 13 and aligns the shared Inertia stack on v3 while keeping the broader React frontend stack unchanged.
Requirements
- PHP
8.5+ - Node.js
20.19+or22.12+(required by Vite 7) - Bun
1.3+ - Composer
- SQLite (or another database configured in
.env)
Create Project
composer create-project simaocurado/starter-kit-react --prefer-dist my-app
cd my-app
composer setup
composer setup runs:
- PHP dependency installation
.envcreation/configuration- automatic
APP_URLsetup tohttp://<project-name>.test php artisan key:generate- migrations
bun installbun run build
Development
With Herd (recommended on macOS)
With Herd, the HTTP server already exists (*.test). You only need to run the frontend:
bun run dev
Open the app at http://<project-name>.test.
Optional (if you use queues):
php artisan queue:listen --tries=1
Without Herd
Run:
composer dev
This starts Laravel server, queue worker, logs, and Vite together.
Strictness
This starter applies strict defaults:
- TypeScript with
"strict": trueintsconfig.json - PHPStan level
7+bleedingEdgeinphpstan.neon - Pest type coverage minimum of
100%(composer test:type-coverage) - Pest test coverage requirement of
100%incomposer test:unit - Pint + Rector for formatting and automated refactors
- Oxlint + Prettier for frontend quality checks
Scripts
composer setupcomposer devcomposer lintcomposer testcomposer test:type-coveragecomposer test:unitcomposer test:typescomposer test:lintcomposer update:requirements
Notes
- If
bun run buildfails with a Vite/crypto.hasherror, upgrade Node to20.19+or22.12+. APP_URLis automatically set tohttp://<project-name>.testduring setup. Adjust it manually only if you use a different local domain.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-12