titasgailius/laravel-moonlight

An elegant Laravel scaffolding for your next single-page application.
6,574 142
Install
composer require titasgailius/laravel-moonlight
Latest Version:1.0.4
License:MIT
Last Updated:Nov 2, 2025
Links: GitHub  ·  Packagist
Maintainer: TitasGailius

Laravel Moonlight

Laravel Moonlight is a carefully crafted Laravel preset for your next SPA application.

Leverage an existing server-side framework to create a fully client-side rendered, single-page application without much of the complexity that comes with a modern SPA.

Laravel Moonlight


Stack

Installation

Installed using composer:

composer require titasgailius/laravel-moonlight

Usage

Once the package has been installed, you may install the scaffolding using the ui Artisan command:

// Generate basic scaffolding
php artisan ui moonlight

// Include authentication scaffolding
php artisan ui moonlight --auth

Screenshots

GitHub Logo

GitHub Logo

GitHub Logo

GitHub Logo

GitHub Logo

GitHub Logo

Project Structure

project
│ - webpack.mix.js
│
└───resources
│   |
│   └───js
│   |   │ - app.js
│   |   │ - bootstrap.js
│   |   │
│   |   └───components // Global components that are auto-registered.
|   |   |   | - form-input.vue
|   |   |
│   |   └───layouts
|   |   |   | - app.vue
|   |   |
│   |   └───pages // This is where you put your application pages.
│   |       │ - home.vue
│   |       │ - welcome.vue
│   |       │
│   |       └───auth
│   |           │ - login.vue
│   |           │ - register.vue
│   |           │ - verify.vue
│   |           │
│   |           └───passwords
│   |               │ - confirm.vue
│   |               │ - email.vue
│   |               │ - reset.vue
│   |
│   └───sass
│   |   | - app.scss
│   │
│   └───views
│       │ - app.blade.php
|
└───app/Providers
    | // Here you may register any variables that are shared between pages.
    │ - InertiaServiceProvider.php

Related Packages

koamishin/koamistarterkit

KoamiStarterKit - A modern Laravel 13 starter kit with Vue 3, Inertia.js, Tailwi...

19 6
jacquestrdx123/vue-inertia-resources

A Filament-like resource system for Inertia.js applications. Provides complete C...

72 0
erag/inertia-forms

Define Laravel forms in PHP and render them with Inertia.js in Vue, React, or Sv...

380 13

Version History

Version Released License
1.0.4 MIT
1.0.3 MIT
1.0.2 MIT
1.0.1 MIT
1.0.0 MIT