PHPackages                             titasgailius/laravel-moonlight - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. titasgailius/laravel-moonlight

ActiveLibrary[Framework](/categories/framework)

titasgailius/laravel-moonlight
==============================

An elegant Laravel scaffolding for your next single-page application.

1.0.4(3y ago)1446.6k10MITPHPCI failing

Since Jan 20Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/TitasGailius/laravel-moonlight)[ Packagist](https://packagist.org/packages/titasgailius/laravel-moonlight)[ RSS](/packages/titasgailius-laravel-moonlight/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (3)Versions (11)Used By (0)

Laravel Moonlight
=================

[](#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](./screenshots/logo.jpg)](./screenshots/logo.jpg)

---

Stack
-----

[](#stack)

- [TailwindCSS](https://tailwindcss.com/)
- [InertiaJS](https://inertiajs.com/)
- [VueJS](https://vuejs.org/)
- [Ziggy](https://github.com/tightenco/ziggy) (Use named routes in your JS)

Installation
------------

[](#installation)

Installed using composer:

```
composer require titasgailius/laravel-moonlight
```

Usage
-----

[](#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
-----------

[](#screenshots)

[![GitHub Logo](screenshots/signin.png)](screenshots/signin.png)
----------------------------------------------------------------

[](#)

[![GitHub Logo](screenshots/signup.png)](screenshots/signup.png)
----------------------------------------------------------------

[](#-1)

[![GitHub Logo](screenshots/email.png)](screenshots/email.png)
--------------------------------------------------------------

[](#-2)

[![GitHub Logo](screenshots/reset.png)](screenshots/reset.png)
--------------------------------------------------------------

[](#-3)

[![GitHub Logo](screenshots/confirm.png)](screenshots/confirm.png)

[![GitHub Logo](screenshots/home.png)](screenshots/home.png)

Project Structure
-----------------

[](#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

```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance47

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 82.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~120 days

Recently: every ~220 days

Total

9

Last Release

1342d ago

Major Versions

0.1.3 → 1.0.02020-04-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12625773?v=4)[Titas Gailius](/maintainers/TitasGailius)[@TitasGailius](https://github.com/TitasGailius)

---

Top Contributors

[![TitasGailius](https://avatars.githubusercontent.com/u/12625773?v=4)](https://github.com/TitasGailius "TitasGailius (24 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![devingray](https://avatars.githubusercontent.com/u/11573528?v=4)](https://github.com/devingray "devingray (1 commits)")[![gilbitron](https://avatars.githubusercontent.com/u/203882?v=4)](https://github.com/gilbitron "gilbitron (1 commits)")

---

Tags

inertiainertiajslaravellaravel-presetlaravel-uispatietailwindtailwindcssvuevuejsziggylaraveluitailwindinertiainertiajsvuetailwindcssVue.jsmoonlight

### Embed Badge

![Health badge](/badges/titasgailius-laravel-moonlight/health.svg)

```
[![Health](https://phpackages.com/badges/titasgailius-laravel-moonlight/health.svg)](https://phpackages.com/packages/titasgailius-laravel-moonlight)
```

###  Alternatives

[laravel-frontend-presets/tall

TALL preset for Laravel.

2.6k692.9k1](/packages/laravel-frontend-presets-tall)[toanld/modules-inertia

Relationship Vue/InertiaJs with modular structure Laravel-Modules

141.8k1](/packages/toanld-modules-inertia)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
