simaocurado/blank-tweaked-laravel-react-starter-kit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

simaocurado/blank-tweaked-laravel-react-starter-kit

最新稳定版本:v1.2.1

Composer 安装命令:

composer create-project simaocurado/blank-tweaked-laravel-react-starter-kit

包简介

The skeleton application for the Laravel framework.

README 文档

README

Laravel starter kit preconfigured with React (Inertia.js),with a few tweaks like PHPStan, Rector, Pest, Pint, and Pail. Designed to give you a ready-to-use development environment for modern Laravel projects.

Features

  • Laravel 12+
  • Inertia.js for React integration
  • PHPStan for static analysis
  • Rector for automated code refactoring & upgrades
  • Pest for testing
  • Laravel Pint for code styling
  • Pail for logging and monitoring queues
  • ✅ SQLite database setup for fast local development
  • ✅ Ready-to-use Composer scripts for automation

Installation

Create a new project using Composer:

composer create-project simaocurado/blank-tweaked-laravel-react-starter-kit my-app
cd my-app
npm install && npm run dev

The project will automatically:

  • Generate .env from .env.example
  • Generate an application key
  • Create database/database.sqlite
  • Run initial migrations
  • Copy phpstan.neon.dist to phpstan.neon

Development

Run the full development environment:

composer dev

For server-side rendering:

composer dev:ssr

Run tests with Pest:

composer test

Static Analysis & Refactoring

  • PHPStan (static analysis):
vendor/bin/phpstan analyse
  • Rector (automatic code refactoring):
vendor/bin/rector process app

Configuration

  • PHPStan config: phpstan.neon.dist → copied to phpstan.neon
  • Rector config: rector.php (already in root, no copy needed)

You can customize these files as needed.

Recommended Workflow

  1. Create a project with Composer (create-project).
  2. Run composer dev to start development environment.
  3. Use vendor/bin/phpstan analyse and vendor/bin/rector process to maintain code quality.
  4. Write tests with Pest and keep code formatted with Pint.

Requirements

  • PHP 8.2+
  • Composer 2.x
  • Node.js 18+ (for frontend assets)

Contributing

Contributions are welcome! Feel free to fork the repo, make improvements, and submit a pull request.

License

MIT License

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-11