devuni/vilt-starter-kit
Composer 安装命令:
composer create-project devuni/vilt-starter-kit
包简介
Starting template with the most modern Laravel features.
README 文档
README
A modern, production-ready starter kit combining the power of Laravel, Inertia.js, Vue 3, and TailwindCSS
What is VILT? • Why Choose VILT? • Features • Installation
What is VILT?
VILT (Laravel + Inertia + Vue + TailwindCSS) is a carefully crafted starter kit that brings together the most powerful modern web development tools. Skip the tedious setup and jump straight into building amazing applications with a battle-tested foundation.
Why Choose VILT?
- 🏗️ Production Ready - Pre-configured with best practices and modern tooling
- 🚀 Developer Experience - Hot reloading, TypeScript support, and modern dev tools
- 🔒 Enterprise Grade - Built-in error tracking, code quality tools, and testing setup
- 📱 Modern UI - TailwindCSS 4.x with responsive design patterns
- ⚡ Performance First - Optimized builds, SSR support, and efficient bundling
Features
Frontend Stack
| Feature | Version | Description |
|---|---|---|
| Vue 3 | 3.5.x |
Composition API with <script setup> syntax |
| Inertia.js | 3.x |
SPA experience without API complexity |
| TailwindCSS | 4.x |
Utility-first CSS framework |
| Vite | 8.x |
Lightning-fast build tool and dev server |
| SSR Support | ✅ | Server-side rendering for better SEO |
Backend Stack
| Feature | Version | Description |
|---|---|---|
| Laravel | 13.x |
Modern PHP framework with latest features |
| PHP | 8.5+ |
Latest PHP with performance improvements |
| Sentry | 4.x |
Error tracking and performance monitoring |
Development Tools
| Tool | Purpose |
|---|---|
| ESLint | JavaScript/Vue linting with auto-fix |
| Prettier | Code formatting for consistent style |
| Laravel Pint | PHP code style fixer |
| Larastan | Static analysis for Laravel |
| Rector | Automated code upgrades and refactoring |
| Pest PHP | Modern testing framework |
| Husky | Git hooks for code quality |
Installation
Quick Start (Recommended)
laravel new my-awesome-app --using=devuni/vilt-starter-kit
Clone & Setup
# Clone the repository git clone https://github.com/devuni-cz/vilt-starter-kit.git my-project cd my-project # Install dependencies composer install && npm install # Setup environment cp .env.example .env php artisan key:generate php artisan migrate # Start development composer dev
Your development environment is ready at http://localhost:8000 🎉
Local Development
Essential Commands
# Start all services composer dev # Individual services php artisan serve # Laravel server npm run dev # Vite dev server php artisan queue:listen # Queue worker # Code quality npm run format # Auto-fix all code npm run lint # Check frontend composer analyse # PHP analysis # Database php artisan migrate # Run migrations php artisan migrate:fresh --seed # Fresh DB with data
Project Structure
├── app/ # Laravel application
├── resources/js/
│ ├── components/ # Vue components
│ ├── layouts/ # Page layouts
│ ├── pages/ # Inertia pages
│ └── utils/ # JavaScript utilities
├── routes/ # Application routes
└── tests/ # Test files
Production
Building for Production
# Build frontend assets npm run build # Build with SSR support npm run build:ssr # Optimize Laravel php artisan config:cache php artisan route:cache php artisan view:cache
SSR Server Setup
For production SSR, run the Inertia SSR server with Supervisor (recommended):
Create /etc/supervisor/conf.d/inertia-ssr.conf:
[program:inertia-ssr] process_name=%(program_name)s_%(process_num)02d command=php /var/www/html/artisan inertia:start-ssr autostart=true autorestart=true user=www-data redirect_stderr=true stdout_logfile=/var/www/html/storage/logs/inertia.log
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start inertia-ssr:*
Sentry Configuration
The project includes Sentry for error tracking. Configure these environment variables:
# Sentry Configuration SENTRY_LARAVEL_DSN=your-sentry-dsn-here SENTRY_TRACES_SAMPLE_RATE=1 SENTRY_AUTH_TOKEN=your-auth-token # Frontend Sentry (automatically passed from Laravel) VITE_SENTRY_DSN="${SENTRY_LARAVEL_DSN}"
Sentry is pre-configured in vite.config.js with:
- Source maps for production debugging
- Release tracking for deployment monitoring
- Error reporting for both frontend and backend
To customize Sentry settings, update the sentryVitePlugin configuration in vite.config.js.
Contributing
We welcome contributions! See our Contributing Guidelines.
- Fork the repository
- Create feature branch:
git checkout -b feature/amazing-feature - Make changes and test:
npm run format && composer test - Commit:
git commit -m 'feat: add amazing feature' - Push and create Pull Request
License
Licensed under the MIT license.
Made with ❤️ by Devuni
⭐ If this helped you, please give it a star! ⭐
devuni/vilt-starter-kit 适用场景与选型建议
devuni/vilt-starter-kit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9 次下载、GitHub Stars 达 11, 最近一次更新时间为 2025 年 07 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「template」 「laravel」 「starter-kit」 「vue」 「tailwindcss」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 devuni/vilt-starter-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 devuni/vilt-starter-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 devuni/vilt-starter-kit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Simple ASCII output of array data
E2E Studios PHP Framework adaptation of leafsphp/blade package
Alfabank REST API integration
Ensolab template project
Account Balance / Wallets Manager For FilamentPHP and Filament Account Builder
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-24