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
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.
- ποΈ 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
| Feature | Version | Description |
|---|---|---|
| Vue 3 | 3.5.x |
Composition API with <script setup> syntax |
| Inertia.js | 2.x |
SPA experience without API complexity |
| TailwindCSS | 4.x |
Utility-first CSS framework |
| Vite | 7.x |
Lightning-fast build tool and dev server |
| SSR Support | β | Server-side rendering for better SEO |
| Feature | Version | Description |
|---|---|---|
| Laravel | 12.x |
Modern PHP framework with latest features |
| PHP | 8.4+ |
Latest PHP with performance improvements |
| Ziggy | 2.x |
Use Laravel routes in JavaScript |
| Sentry | 4.x |
Error tracking and performance monitoring |
| 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 |
laravel new my-awesome-app --using=devuni/vilt-starter-kit# 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 devYour development environment is ready at http://localhost:8000 π
# 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βββ app/ # Laravel application
βββ resources/js/
β βββ components/ # Vue components
β βββ layouts/ # Page layouts
β βββ pages/ # Inertia pages
β βββ utils/ # JavaScript utilities
βββ routes/ # Application routes
βββ tests/ # Test files
# 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:cacheFor 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.logsudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start inertia-ssr:*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.
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
Licensed under the MIT license.
Made with β€οΈ by Devuni
β If this helped you, please give it a star! β