gtcrais/inertia-vue-lsk
Composer 安装命令:
composer create-project gtcrais/inertia-vue-lsk
包简介
The Inertia + Vue skeleton application for the Laravel framework.
关键字:
README 文档
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
.envfill out:APP_URLGRACEFULLY_HANDLE_EXCEPTIONS- boolean. If set totrueyou will get nice error pages instead of the default Inertia exception modalSESSION_DOMAINSANCTUM_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_SSRtotrue npm run buildphp artisan inertia:start-ssr
- set
- If you want to use Laravel Horizon, just install it and uncomment
HorizonServiceProvider::classinbootstrap/providers.php, and update thegate()method
-
Start the mail queue -
php artisan queue:work --queue=mail
Things worth taking a look at
app/Bootstrapersapp/Http/Middleware/SanctumMiddleware.phpapp/Providers/StarterKitServiceProvider.phpapp/Services/InertiaHelperService.phpused inapp/Bootstrappers/ExceptionsHelper.phpandapp/Http/Middleware/HandlerInertiaRequests.phpapp/Services/ViewMetadataProviderService.php, used inapp/Services/InertiaHelperService.php,app/Http/Controllers/PageController.phpandresource/views/default.blade.php
License
inertia-vue-lsk Laravel Starter Kit is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-10