gtcrais / inertia-vue-lsk
The Inertia + Vue skeleton application for the Laravel framework.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.4
- inertiajs/inertia-laravel: ^2.0
- laravel/framework: ^12.0
- laravel/sanctum: ^4.0
- laravel/socialite: ^5.19
- laravel/tinker: ^2.10.1
- predis/predis: ^2.3
- socialiteproviders/apple: ^5.6
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.15
- fakerphp/faker: ^1.23
- laravel/pail: ^1.2.2
- laravel/pint: ^1.13
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^3.8
- pestphp/pest-plugin-laravel: ^3.1
This package is auto-updated.
Last update: 2025-04-10 12:19:32 UTC
README
Tech stack:
- Laravel (latest)
- Sanctum (latest)
- Inertia 2
- Vue 3
- Tailwind CSS 4
Additional Composer packages
- Sanctum
- Socialite
- Apple Socialite Provider
- Laravel Debugbar
- Predis
Features
Out of the box this starter kit provides:
- Login and registration functionalities using conventional email + password method with email confirmation, as well as Sign in with Facebook and Google
- Password reset functionality
- Inertia SSR
- Graceful exceptions handling
- Skeleton for mobile app requests handling (although this needs a little more work)
Requirements
- PHP >= 8.4
- Node.js >= 20
- Laravel queues (for emails)
Setup
-
In
.env
fill out:APP_URL
GRACEFULLY_HANDLE_EXCEPTIONS
- boolean. If set totrue
you will get nice error pages instead of the default Inertia exception modalSESSION_DOMAIN
SANCTUM_STATEFUL_DOMAINS
- Mailgun credentials, unless you're using some other mailer
- Facebook and Google credentials, if you're going to be using sign in with social networks feature
- If you want to use Inertia SSR:
- set
VITE_SSR
totrue
npm run build
php artisan inertia:start-ssr
- set
- If you want to use Laravel Horizon, just install it and uncomment
HorizonServiceProvider::class
inbootstrap/providers.php
, and update thegate()
method
-
Start the mail queue -
php artisan queue:work --queue=mail
Things worth taking a look at
app/Bootstrapers
app/Http/Middleware/SanctumMiddleware.php
app/Providers/StarterKitServiceProvider.php
app/Services/ViewMetadataProviderService.php
, used inapp/Http/Middleware/HandleInertiaRequests.php
,app/Http/Controllers/PageController.php
andresource/views/default.blade.php
License
inertia-vue-lsk
Laravel Starter Kit is open-sourced software licensed under the MIT license.