PHPackages                             pkboom/laravel-inertia-vue-component - 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. pkboom/laravel-inertia-vue-component

ActiveLibrary

pkboom/laravel-inertia-vue-component
====================================

0.23(5y ago)118MITPHPPHP ^8.0

Since Apr 25Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (6)Used By (0)

Opinionated Inertia Vue Component Creator
=========================================

[](#opinionated-inertia-vue-component-creator)

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

[](#installation)

Install the package via composer:

```
composer require pkboom/laravel-inertia-vue-component
```

Usage
-----

[](#usage)

Create a new controller, which contains `Inertia:render`.

```
// SomeController.php

public function index() {
    return Inertia::render('Some/Index', [
        'foo' => 'foo',
        'bar' => 'bar',
    ]);
}
```

Run this command.

```
php artisan make:inertia-vue-component
// e.g. php artisan make:inertia-vue-component SomeController
```

`js/Pages/Some/Index.vue` is created with props

```
export default {
    props: {
        foo: String,
        bar: String,
    }
    ...
}
```

To add a prop to an existing component, first add a new `key => value` to `Inertia::render`.

```
// SomeController.php

public function index() {
    return Inertia::render('Some/Index', [
        'foo' => 'foo',
        'bar' => 'bar',
        'new' => 'new',
    ]);
}
```

Run this command.

```
php artisan make:inertia-vue-component SomeController
```

A new prop is created in `js/Pages/Some/Index.vue`.

```
export default {
    props: {
        new: String,
        foo: String,
        bar: String,
    }
    ...
}
```

Publish to edit stub.

```
php artisan vendor:publish --provider="Pkboom\InertiaVueComponent\InertiaVueComponentServiceProvider"
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

5

Last Release

1842d ago

### Community

Maintainers

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

---

Top Contributors

[![pkboom](https://avatars.githubusercontent.com/u/13960169?v=4)](https://github.com/pkboom "pkboom (6 commits)")

---

Tags

pkboomlaravel-inertia-vue-component

### Embed Badge

![Health badge](/badges/pkboom-laravel-inertia-vue-component/health.svg)

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

PHPackages © 2026

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