| Install | |
|---|---|
composer require xocdr/laravel-inertia-vue3-starter |
|
| Latest Version: | 0.1.5 |
| PHP: | ^8.4 |
A modern starter template for Laravel 12 projects using Inertia.js 2, Vue 3, and TailwindCSS 4. This template provides a solid foundation for building modern web applications with the latest versions of these powerful technologies.
You can create a new project using Composer:
composer create-project xocdr/laravel-inertia-vue3-starter your-project-name
cd your-project-name
cp .env.example .env
./vendor/bin/sail up -d
./vendor/bin/sail composer install
./vendor/bin/sail npm install
./vendor/bin/sail artisan key:generate
./vendor/bin/sail artisan migrate
./vendor/bin/sail npm run dev
Your application will be available at:
The following services are available in your development environment:
| Service | URL | Description |
|---|---|---|
| Laravel | http://localhost | Main application |
| Vite | http://localhost:5173 | Frontend development server with HMR |
| Mailpit | http://localhost:8025 | Email testing interface |
| MariaDB | localhost:3306 | Database (use a DB client to connect) |
| Redis | localhost:6379 | Cache/Queue (use a Redis client to connect) |
| MinIO | http://localhost:9000 | S3-compatible object storage |
| MinIO Console | http://localhost:8900 | MinIO administration interface |
mariadb3306laravelsailpasswordredis6379sailpasswordlocalus-east-1The MinIO setup is automatically configured to work with Laravel's S3 filesystem driver. A default bucket named 'local' is created during installation. You can access the MinIO Console to manage your buckets and files using the credentials above.
Example usage in Laravel:
// Store a file
Storage::disk('s3')->put('example.txt', 'Contents');
// Get a file
$contents = Storage::disk('s3')->get('example.txt');
// Generate a temporary URL
$url = Storage::disk('s3')->temporaryUrl('example.txt', now()->addMinutes(5));
./vendor/bin/sail composer dev
./vendor/bin/sail composer test
./vendor/bin/sail composer pint
This project is open-sourced software licensed under the MIT license.