mkinyua53 / laravel-inertia-vue-starter-kit
The skeleton application for the Laravel framework.
Requires
- php: ^8.2
- directorytree/authorization: ^1.2
- inertiajs/inertia-laravel: ^2.0
- laravel/framework: ^12.0
- laravel/jetstream: ^5.1
- laravel/pulse: ^1.2
- laravel/reverb: @beta
- laravel/sanctum: ^4.0
- laravel/socialite: ^5.19
- laravel/tinker: ^2.9
- opcodesio/log-viewer: ^3.15
- tightenco/ziggy: ^2.0
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.13
- barryvdh/laravel-ide-helper: ^3.0
- fakerphp/faker: ^1.23
- friendsofphp/php-cs-fixer: ^3.59
- laravel/pint: ^1.16
- laravel/sail: ^1.26
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.0
- pestphp/pest: ^3.0
This package is not auto-updated.
Last update: 2025-04-15 11:46:51 UTC
README
This is laravel starter kit to quickly start off a new project. It uses Jestream and Fortify for authentication.
The frontend uses Vuetify and TailwindCSS.
There is a service worker setup and window.PasswordCredential is used for optional fast login.
The Setting model can be used to tweak the app either in the frontend or backend. Sample usage in a component:
const $settings = inject('$systemSettings')
<a href="/auth/google/redirect" class="text-center text-decoration-none"
v-if="$settings['use google login']">
<v-btn size="small" color="primary" variant="tonal" class="ring-1" prepend-icon="mdi-google">
Log In with Google
</v-btn>
</a>
How to use
You should have the Laravel installer.
laravel new my-app --using=mkinyua53/laravel-inertia-vue-starter-kit
Features
- Authorization using DirectoryTree/Authorization
Check the authorization.php
for the roles and permissions. There's a command php artisan install:auth
to install the authorization tables. It can also be used in deployment script as used in the Envoy file
Laravel Envoy is used to deploy the application.
Make sure to update the client_id
and client_secret
in config/services.php
.
The use google login
setting should be set to true. Settings can be accessed via the /settings
URI.
- Google Analytics (GTM)
Update the two occurences of GTM-3333DDD3
in resources/views/app.blade.php
- Laravel Pulse
Check the AppServiceProvider.php
for the pulse access configuration
- Laravel Log Viewer
Check the AppServiceProvider.php
for the log viewer access configuration