mkinyua53/laravel-inertia-vue-starter-kit

The skeleton application for the Laravel framework.

dev-master 2025-04-14 16:28 UTC

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

  1. 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

  1. Laravel Envoy is used to deploy the application.

  2. Gitlab CI/CD.

  3. Login via Google

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.

  1. Google Analytics (GTM)

Update the two occurences of GTM-3333DDD3 in resources/views/app.blade.php

  1. Laravel Pulse

Check the AppServiceProvider.php for the pulse access configuration

  1. Laravel Log Viewer

Check the AppServiceProvider.php for the log viewer access configuration