nunomaduro/laravel-starter-kit-inertia-vue
Composer 安装命令:
composer create-project nunomaduro/laravel-starter-kit-inertia-vue
包简介
The skeleton application for the Laravel framework.
关键字:
README 文档
README
- Inertia & Vue (this project) version: github.com/nunomaduro/laravel-starter-kit-inertia-vue
- Inertia & React version: github.com/nunomaduro/laravel-starter-kit-inertia-react
- Blade version: github.com/nunomaduro/laravel-starter-kit
Laravel Starter Kit (Inertia & Vue) is an ultra-strict, type-safe Laravel skeleton engineered for developers who refuse to compromise on code quality. This opinionated starter kit enforces rigorous development standards through meticulous tooling configuration and architectural decisions that prioritize type safety, immutability, and fail-fast principles.
Why This Starter Kit?
Modern PHP has evolved into a mature, type-safe language, yet many Laravel projects still operate with loose conventions and optional typing. This starter kit changes that paradigm by enforcing:
- Fully Actions-Oriented Architecture: Every operation is encapsulated in a single-action class
- Cruddy by Design: Standardized CRUD operations for all controllers, actions, and Inertia & Vue pages
- 100% Type Coverage: Every method, property, and parameter is explicitly typed
- Zero Tolerance for Code Smells: Rector, PHPStan, OxLint, and Oxfmt at maximum strictness catch issues before they become bugs
- Immutable-First Architecture: Data structures favor immutability to prevent unexpected mutations
- Fail-Fast Philosophy: Errors are caught at compile-time, not runtime
- Automated Code Quality: Pre-configured tools ensure consistent, pristine code across your entire team
- Bun-Powered: Leveraging Bun for blazing-fast dependency management...
- Just Better Laravel Defaults: Thanks to Essentials / strict models, auto eager loading, immutable dates, and more...
- AI Guidelines: Integrated AI Guidelines to assist in maintaining code quality and consistency
- Full Testing Suite: More than 150 tests with 100% code coverage using Pest
This isn't just another Laravel boilerplate—it's a statement that PHP applications can and should be built with the same rigor as strongly-typed languages like Rust or TypeScript.
Getting Started
Requires PHP 8.5+, Bun and a code coverage driver like xdebug.
Create your type-safe Laravel application using Composer:
composer create-project nunomaduro/laravel-starter-kit-inertia-vue --prefer-dist example-app
Initial Setup
Navigate to your project and complete the setup:
cd example-app # Setup the project composer setup # Start the development server composer dev
Optional: Browser Testing Setup
If you plan to use Pest's browser testing capabilities:
bun add playwright bunx playwright install
Verify Installation
Run the test suite to ensure everything is configured correctly:
composer test
You should see 100% test coverage and all quality checks passing.
Available Tooling
Development
composer dev- Starts Laravel server, queue worker, log monitoring, and Vite+ dev server concurrently
Code Quality
composer lint- Runs Rector (refactoring), Pint (PHP formatting), and Oxfmt (JS/TS formatting)composer test:lint- Dry-run mode for CI/CD pipelines
Testing
composer test:type-coverage- Ensures 100% type coverage with Pestcomposer test:types- Runs PHPStan at level 9 (maximum strictness)composer test:unit- Runs Pest tests with 100% code coverage requirementcomposer test- Runs the complete test suite (type coverage, unit tests, linting, static analysis)
Maintenance
composer update:requirements- Updates all PHP and Bun dependencies to latest versions
License
Laravel Starter Kit Inertia Vue was created by Nuno Maduro under the MIT license.
nunomaduro/laravel-starter-kit-inertia-vue 适用场景与选型建议
nunomaduro/laravel-starter-kit-inertia-vue 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 289 次下载、GitHub Stars 达 78, 最近一次更新时间为 2026 年 02 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 nunomaduro/laravel-starter-kit-inertia-vue 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nunomaduro/laravel-starter-kit-inertia-vue 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 nunomaduro/laravel-starter-kit-inertia-vue 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Alfabank REST API integration
High-performance, opinionated PHP 8 web framework with O(1) routing, parallel async MySQL, type-safe asset bridge, and React-island frontend
Laravel package for Accurate Online API integration.
The skeleton application for the Geoffrey agent framework.
Shared RCX Laravel DataTables UI and configuration helpers.
统计信息
- 总下载量: 289
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 78
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-18