PHPackages                             rdhafiz/laravel-vue-spa - 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. rdhafiz/laravel-vue-spa

ActiveProject

rdhafiz/laravel-vue-spa
=======================

Laravel Vue SPA - A php library to setup a Laravel Vue SPA project environment by couple of small commands

0.03(5y ago)111793MITPHP

Since Feb 13Pushed 5y ago2 watchersCompare

[ Source](https://github.com/rdhafiz/laravel-vue-spa)[ Packagist](https://packagist.org/packages/rdhafiz/laravel-vue-spa)[ RSS](/packages/rdhafiz-laravel-vue-spa/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)DependenciesVersions (4)Used By (0)

[![](https://raw.githubusercontent.com/rdhafiz/laravel-vue-spa/master/examples/demo.gif)](https://raw.githubusercontent.com/rdhafiz/laravel-vue-spa/master/examples/demo.gif)

Laravel Vue SPA
===============

[](#laravel-vue-spa)

Laravel Vue SPA - A php library to setup a Laravel Vue SPA project environment with couple of small commands.

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

[](#installation)

Run This commands inside a Fresh or existing Laravel project

```
composer require rdhafiz/laravel-vue-spa
```

```
php artisan LaravelVueSpa
```

```
npm install && npm install vue vue-router vuex axios vue-page-transition -save
```

```
npm run watch
php artisan serve
```

The package will automatically register its service provider.

Configurations
--------------

[](#configurations)

`routes/web.php`

[![](examples/routes.jpg)](examples/routes.jpg)

`Http/Controllers/LaravelVueSpaController.php`

[![](examples/controller.jpg)](examples/controller.jpg)

`resources/views/Lvs/index.blade.php`

[![](examples/view.jpg)](examples/view.jpg)

### Vue Development Configuration Folder Structure

[](#vue-development-configuration-folder-structure)

`resources/js`

```
├── ...
├── js                    ### Vue Development Folder
│   ├── Pages                 # Folder where all vue pages are stored
│   │   ├── About.vue         # Demo About us page
│   │   ├── Contact.vue       # Demo Contact us page
│   │   ├── Home.vue          # Demo Home page
│   ├── Router            ### Vue Route Folder
│   │   ├── router.js         # All Vue Routes are here
│   ├── Store             ### Vuex Manager Folder
│   │   ├── store.js          # Vues file to manage vuex data
│   ├── app.js            ### Vue configure File
│   ├── App.vue           ### Root Vue Template
└── ...

```

License
-------

[](#license)

Released under the MIT License, see [LICENSE](LICENSE).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

1914d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ddf88924fe7096dc3e836c3d1c7c46d22cd8724a9573a8fa72f813ba9901430c?d=identicon)[rdhafiz](/maintainers/rdhafiz)

---

Top Contributors

[![rdhafiz](https://avatars.githubusercontent.com/u/5351783?v=4)](https://github.com/rdhafiz "rdhafiz (11 commits)")

---

Tags

laravelphpphp7vue-routervuejsvuex

### Embed Badge

![Health badge](/badges/rdhafiz-laravel-vue-spa/health.svg)

```
[![Health](https://phpackages.com/badges/rdhafiz-laravel-vue-spa/health.svg)](https://phpackages.com/packages/rdhafiz-laravel-vue-spa)
```

PHPackages © 2026

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