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

ActiveLibrary

somecode/laravel-vue
====================

1.0.0(5mo ago)3561PHPPHP ^8.2

Since Nov 27Pushed 5mo agoCompare

[ Source](https://github.com/somecode-pro/laravel-vue)[ Packagist](https://packagist.org/packages/somecode/laravel-vue)[ RSS](/packages/somecode-laravel-vue/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

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

[](#laravel-vue-spa-installer)

[![PHP Version](https://camo.githubusercontent.com/c9f64f714c636ba27a3bba6dfd52f98426832db1262747efa54b212d16943651/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e322d626c7565)](https://www.php.net/)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

> A Laravel package that scaffolds a complete Vue.js SPA setup with TypeScript/JavaScript support

[Русская версия](docs/README.md) • [Russian version](docs/README.md)

About
-----

[](#about)

**Laravel Vue** is an opinionated installer package that automates the setup of a modern Vue 3 Single Page Application within Laravel projects. It provides a complete, production-ready frontend stack with routing, state management, development tools, and seamless Laravel integration.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.2
- Laravel &gt;= 10
- Node.js &amp; NPM
- Composer

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

[](#installation)

Install the package via Composer:

```
composer require somecode/laravel-vue --dev
```

Run the interactive installer:

```
php artisan laravel-vue:install
```

### What Gets Installed

[](#what-gets-installed)

[![img.png](docs/img.png)](docs/img.png)

**Frontend Stack:**

- Vue 3 with Composition API
- Vue Router for client-side routing
- Pinia for state management
- Axios for HTTP requests
- VueUse composables library
- Iconify for icons

**Development Tools:**

- Vite with Laravel Vite Plugin
- TypeScript configurations (if TS chosen)
- ESLint + Prettier
- SCSS with theme variables

**Laravel Integration:**

- Laravel Wayfinder (type-safe routes)
- Blade template with Vite directives
- SPA catch-all route (excludes `/api/*`)

**Project Structure:**

```
resources/js/
├── app.ts              # Application entry point
├── App.vue             # Root component
├── router/             # Vue Router setup
├── stores/             # Pinia stores
├── views/              # Page components
├── components/         # Reusable components
├── composables/        # Vue composables
├── layouts/            # Layout components
└── api/                # API client

```

### Building for Production

[](#building-for-production)

```
npm run build
```

### Available NPM Scripts

[](#available-npm-scripts)

```
npm run dev           # Start development server
npm run build         # Build for production
npm run lint          # Run ESLint
npm run lint:fix      # Fix ESLint issues
npm run format        # Format code with Prettier
npm run type-check    # TypeScript type checking (TS only)
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

Author
------

[](#author)

**Mikhail Protasevich**

- Email:

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance70

Regular maintenance activity

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

172d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b4cfb8b0942b121461ec6d6ce87834d18e3624a7c762c103ea54c425b39f21e?d=identicon)[m1nyasha](/maintainers/m1nyasha)

---

Top Contributors

[![m1nyasha](https://avatars.githubusercontent.com/u/44201734?v=4)](https://github.com/m1nyasha "m1nyasha (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[livewire/livewire

A front-end framework for Laravel.

23.5k75.5M1.8k](/packages/livewire-livewire)[laravel/octane

Supercharge your Laravel application's performance.

4.0k21.5M159](/packages/laravel-octane)[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M685](/packages/drush-drush)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k10.6M274](/packages/laravel-boost)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)

PHPackages © 2026

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