PHPackages                             erag/laravel-tenancy-vue-starter-kit - 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. erag/laravel-tenancy-vue-starter-kit

ActiveProject[Framework](/categories/framework)

erag/laravel-tenancy-vue-starter-kit
====================================

The skeleton application for the Laravel framework.

v1.0.0(4mo ago)11152MITVuePHP ^8.2CI passing

Since Dec 21Pushed 4mo agoCompare

[ Source](https://github.com/eramitgupta/laravel-multi-tenancy-vue)[ Packagist](https://packagist.org/packages/erag/laravel-tenancy-vue-starter-kit)[ Fund](https://www.paypal.com/paypalme/teamdevgeek)[ GitHub Sponsors](https://github.com/eramitgupta)[ RSS](/packages/erag-laravel-tenancy-vue-starter-kit/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Multi Tenancy Vue Starter Kit
=====================================

[](#laravel-multi-tenancy-vue-starter-kit)

📸 **Screenshots &amp; UI Preview:**
👉 [View Screenshots (Images.md)](./Images.md)

A **Laravel 12 + Inertia.js + Vue 3** multi-tenancy starter kit designed for building **SaaS applications** with a clean, scalable architecture.
This project provides a solid foundation for **central + tenant based apps**, modern frontend tooling, and automated developer workflows.

✨ Features
----------

[](#-features)

🏗️ Laravel 12 modern architecture

🏢 Multi-Tenancy (Central + Tenant separation)

🔄 Inertia.js + Vue 3 SPA experience

🧩 TypeScript support

⚡ Vite + HMR fast development

🎨 Tailwind CSS v4 UI styling

🧱 **shadcn-vue** preconfigured component system

🗂️ Clean &amp; scalable folder structure

🔐 Central &amp; Tenant authentication

🛣️ Dedicated tenant routing

📬 Queue &amp; Jobs support

🧪 Testing ready (Feature &amp; Unit)

🧹 Laravel Pint (PHP formatting)

📏 ESLint &amp; Prettier (Frontend linting)

🧠 Developer-friendly scripts

🔁 One-command setup &amp; dev

🌐 SSR support (optional)

🚀 Production-ready boilerplate

---

📦 Requirements
--------------

[](#-requirements)

Make sure the following are installed on your system:

- PHP &gt;= 8.2
- Composer
- Node.js &gt;= 18
- NPM
- MySQL or SQLite
    *(SQLite is supported by default for local development)*

---

🚀 Installation
--------------

[](#-installation)

```
composer create-project erag/laravel-tenancy-vue-starter-kit laravel-multi-tenancy-vue
```

Run the setup command:

```
composer run setup
```

### What does this command do?

[](#what-does-this-command-do)

- Installs Composer dependencies
- Creates `.env` file (if not exists)
- Generates application key
- Runs database migrations
- Installs NPM dependencies
- Builds frontend assets

---

🧑‍💻 Development Mode
--------------------

[](#‍-development-mode)

Start the local development environment:

```
composer run dev
```

### What runs in development mode?

[](#what-runs-in-development-mode)

- Laravel development server
- Queue worker
- Laravel Pail logs
- Vite dev server (HMR)

All processes run together using **concurrently**.

---

🌐 SSR Development (Optional)
----------------------------

[](#-ssr-development-optional)

If you are using Inertia SSR:

```
composer run dev:ssr
```

---

🧪 Testing
---------

[](#-testing)

Run all tests using:

```
composer run test
```

---

🧹 Linting &amp; Formatting
--------------------------

[](#-linting--formatting)

Linting and formatting are **fully automated**.

### ✅ Recommended (One command)

[](#-recommended-one-command)

```
composer run lint
```

### This command will:

[](#this-command-will)

- Format &amp; lint **PHP** using Laravel Pint
- Lint **JavaScript / TypeScript** using ESLint
- Format **Vue &amp; Blade** files using Prettier
- Auto-fix issues where possible

> You don’t need to run separate npm commands manually.

---

### 🔧 Optional Manual Commands

[](#-optional-manual-commands)

Frontend lint only:

```
npm run lint
```

Auto-fix frontend issues:

```
npm run lint:fix
```

---

🧠 Recommendation
----------------

[](#-recommendation)

Always run this before committing code:

```
composer run lint
```

This ensures:

- Clean commits
- Consistent code style
- Fewer CI issues

---

🔄 Upgrade / Dependency Updates
------------------------------

[](#-upgrade--dependency-updates)

To update project dependencies:

```
composer run update:requirements
```

### This will:

[](#this-will)

- Update Composer dependencies
- Update NPM packages
- Keep version constraints clean

After upgrading, run:

```
composer install
npm install
npm run build
```

---

📁 Project Structure
-------------------

[](#-project-structure)

This project follows a **clean and scalable multi-tenancy architecture**.

```
.
├── app
│   ├── Http
│   │   ├── Controllers
│   │   ├── Middleware
│   │   └── Requests
│   ├── Jobs
│   │   └── SyncTenantJob.php
│   ├── Menu
│   │   └── Sidebar.php
│   ├── Models
│   │   ├── Tenant.php
│   │   └── User.php
│   └── Providers
│       ├── CentralRouteServiceProvider.php
│       └── TenancyServiceProvider.php
│
├── config
│   └── tenancy.php
│
├── database
│   ├── migrations
│   │   ├── create_tenants_table.php
│   │   ├── create_domains_table.php
│   │   └── tenant/
│   └── seeders
│
├── resources
│   ├── css
│   ├── js
│   │   ├── app.ts
│   │   ├── components
│   │   ├── composables
│   │   ├── layouts
│   │   ├── pages
│   │   │   ├── tenant
│   │   │   └── auth
│   │   └── types
│   └── views
│       └── app.blade.php
│
├── routes
│   ├── web.php
│   ├── tenant.php
│   └── tenants
│       ├── tenant-auth.php
│       └── tenant-settings.php
│
├── tests
│   ├── Feature
│   └── Unit
│
├── vite.config.ts
├── tsconfig.json
├── composer.json
└── README.md

```

---

📂 Ignored from Structure
------------------------

[](#-ignored-from-structure)

These directories are intentionally excluded from structure views:

- `node_modules/`
- `vendor/`
- `storage/`
- `bootstrap/cache/`

---

🛠 Tech Stack
------------

[](#-tech-stack)

- Laravel 12
- Inertia.js
- Vue 3
- TypeScript
- Vite
- Tailwind CSS
- Laravel Pint
- ESLint
- Prettier

---

⭐ Support
---------

[](#-support)

If you find this project helpful, please consider giving it a ⭐ on GitHub. It helps the project grow and stay maintained ❤️

---

🤝 Contributing
--------------

[](#-contributing)

Issues and pull requests are welcome. Please ensure code style rules are followed by running lint checks before committing.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance74

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

143d ago

### Community

Maintainers

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

---

Top Contributors

[![eramitgupta](https://avatars.githubusercontent.com/u/72160684?v=4)](https://github.com/eramitgupta "eramitgupta (36 commits)")

---

Tags

inertiajslaravellaravel-frameworkmulti-tenancysaasstarter-kitvue3vue3-typescriptframeworklaravel

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/erag-laravel-tenancy-vue-starter-kit/health.svg)

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

###  Alternatives

[laravel/vue-starter-kit

The skeleton application for the Laravel framework.

595238.0k](/packages/laravel-vue-starter-kit)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[oseughu/svelte-starter-kit

The skeleton application for the Laravel framework.

1781.4k](/packages/oseughu-svelte-starter-kit)

PHPackages © 2026

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