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. [Utility &amp; Helpers](/categories/utility)
4. /
5. somecode/laravel-vue

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

1.0.0(7mo ago)3621PHPPHP ^8.2

Since Nov 27Pushed 7mo 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 today

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

35

—

LowBetter than 77% of packages

Maintenance64

Regular maintenance activity

Popularity14

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

218d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44201734?v=4)[Mikhail Protasevich](/maintainers/m1nyasha)[@m1nyasha](https://github.com/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.8k543.8M20.1k](/packages/laravel-framework)[livewire/flux

The official UI component library for Livewire.

9527.8M128](/packages/livewire-flux)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k91](/packages/nativephp-mobile)[log1x/acf-composer

Create fields, blocks, option pages, and widgets using ACF Builder and Sage 10

504836.0k18](/packages/log1x-acf-composer)[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)

PHPackages © 2026

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