keteraf / keteraf-starter-kit
My own starter kit based on VILT stack.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.4
- ext-pdo: *
- inertiajs/inertia-laravel: ^2.0
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.1
- nunomaduro/essentials: ^0.1
- tightenco/ziggy: ^2.4
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.15
- barryvdh/laravel-ide-helper: ^3.5
- fakerphp/faker: ^1.23
- larastan/larastan: ^3.0
- laravel/pail: ^1.2.2
- laravel/pint: ^1.18
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^3.8
- pestphp/pest-plugin-laravel: ^3.2
- rector/rector: ^2.1
This package is auto-updated.
Last update: 2025-06-28 10:02:49 UTC
README
An enriched laravel starter kit based on the VILT stack (Vue, Inertia, Laravel, Tailwind CSS).
โจ Features
- Laravel 12 - The latest version of the popular PHP framework
- Vue 3 - The progressive JavaScript framework with Composition API
- Inertia.js - The modern approach to building server-driven single-page apps
- Tailwind CSS 4 - Utility-first CSS framework for rapid UI development
- TypeScript - Type safety for your JavaScript code
- Vite - Next generation frontend tooling for lightning-fast HMR
- Pest PHP - An elegant PHP testing framework with a focus on simplicity
- Pint - An opinionated PHP code style fixer for Laravel
- PHPStan - PHP Static Analysis Tool for finding errors in your code
- Rector - Instant upgrades and automated refactoring of your PHP code
- ESLint & Prettier - Keep your code clean and consistent
- Ziggy - Use your Laravel named routes in JavaScript
๐ฆ Requirements
- PHP 8.4 or higher
- Composer
- Node.js (v18+) and npm
๐ ๏ธ Installation
# Create a new Laravel application using this starter kit laravel new my-app --using=keteraf/keteraf-starter-kit # Navigate to the project directory cd my-app
All dependencies will be automatically installed and assets will be built during the installation process.
๐โโ๏ธ Development
# Start the development server with hot-reloading composer dev # Or with SSR (Server-Side Rendering) composer dev:ssr
๐งช Testing
# Run all tests composer test # Run specific test types composer test:refactor # Check code refactoring composer test:lint # Check code style composer test:types # Check PHP types composer test:unit # Run unit tests # Frontend tests npm run test:lint # Check frontend code style npm run test:types # Check TypeScript types
๐งน Code Quality
# Fix PHP code style composer lint # Refactor PHP code composer refactor # Fix JavaScript/Vue code style npm run lint
๐ฆ Building for Production
# Build frontend assets npm run build # Or with SSR npm run build:ssr
๐๏ธ Project Structure
The starter kit follows the standard Laravel project structure with some additional conventions:
app/Actions
- For business logic using the Actions patternapp/Http/Controllers
- For handling HTTP requestsapp/Http/Requests
- For form validation using FormRequestapp/Models
- For database modelsresources/js
- For Vue components and frontend codetests
- For Pest PHP tests
๐ Coding Standards
This starter kit enforces strict coding standards:
- PHP 8.4+ features
- Strict types and array shapes via PHPStan
- Pint for PHP code style
- ESLint and Prettier for JavaScript/Vue code style
๐ License
This starter kit is open-sourced software licensed under the MIT license.