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
.envfrom.env.example - Generate an application key
- Create
database/database.sqlite - Run initial migrations
- Copy
phpstan.neon.disttophpstan.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 tophpstan.neon - Rector config:
rector.php(already in root, no copy needed)
You can customize these files as needed.
Recommended Workflow
- Create a project with Composer (
create-project). - Run
composer devto start development environment. - Use
vendor/bin/phpstan analyseandvendor/bin/rector processto maintain code quality. - 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
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-11