laravolt/laravel-starter-kit
Composer 安装命令:
composer create-project laravolt/laravel-starter-kit
包简介
The skeleton application for the Laravel framework.
关键字:
README 文档
README
Laravel Starter Kit
Official Laravel starter kit with strict type-safety and code quality tools for Laravolt in Agentic era.
Note: This starter kit comes with Laravolt Platform (7.x) pre-installed. The setup process automatically configures all necessary migrations and assets.
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:
- 100% Type Coverage: Every method, property, and parameter is explicitly typed
- Zero Tolerance for Code Smells: Rector and PHPStan 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
- Just Better Laravel Defaults: Thanks to Essentials / strict models, auto eager loading, immutable dates, and more...
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.4+ and a database supported by Laravel 13. The default
.env.exampleis ready for SQLite.
Create a New App
Create your type-safe Laravel 13 + Laravolt 7 application using Composer:
Maintenance note: until the first Laravolt 7 beta tag is published, this starter pins
laravolt/laravolttodev-master as 7.0.0-beta.1. Switch it to^7.0@betaafter the beta release is tagged.
composer create-project laravolt/laravel-starter-kit --prefer-dist example-app
cd example-app
composer dev
create-project already copies .env, generates the app key, prepares SQLite, runs laravolt:install, and migrates the database.
Setup an Existing Clone
Use this path only when you clone the repository manually instead of using create-project:
git clone https://github.com/laravolt/laravel-starter-kit example-app
cd example-app
composer setup
composer dev
composer setup installs Composer and Bun dependencies, publishes Laravolt, runs migrations, and builds assets.
Optional: Browser Testing Setup
If you plan to use Pest's browser testing capabilities:
bun add playwright bunx playwright install
Laravolt Assets
If Laravolt UI assets look stale after an update, refresh the symlinks/assets:
php artisan laravolt:link bun run build
Verify Installation
Run the test suite to ensure everything is configured correctly:
composer test
You should see all default quality checks passing. The starter kit intentionally ships with strict Pest Arch, type coverage, Pint, Rector, and PHPStan gates so a fresh app starts green.
Coverage and browser tests are available as explicit opt-in gates:
composer test:coverage # requires a PHP coverage driver such as Xdebug/PCOV composer test:browser # requires bunx playwright install
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 Prettier (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 NPM dependencies to latest versions
Based on the original work by Nuno Maduro.
laravolt/laravel-starter-kit 适用场景与选型建议
laravolt/laravel-starter-kit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 87 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「laravolt」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 laravolt/laravel-starter-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laravolt/laravel-starter-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 laravolt/laravel-starter-kit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Semantic-UI table builder for Laravel application
Platform for developing information systems in 2 weeks
File browser and media upload handler
Universally Unique Identifier (UUID) for Laravel Eloquent
Laravel activity log viewer
统计信息
- 总下载量: 87
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-26