PHPackages                             ianrothmann/inertia-laravel-app-service - 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. ianrothmann/inertia-laravel-app-service

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

ianrothmann/inertia-laravel-app-service
=======================================

RocketFramework Inertia Laravel Helpers

3.0(2y ago)27.5k↓42.3%Apache-2.0PHPPHP &gt;=7.4.0CI failing

Since Nov 4Pushed 2y ago3 watchersCompare

[ Source](https://github.com/ianrothmann/inertia-laravel-app-service)[ Packagist](https://packagist.org/packages/ianrothmann/inertia-laravel-app-service)[ RSS](/packages/ianrothmann-inertia-laravel-app-service/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (23)Used By (0)

Rocket Inertia and Laravel App Framework Service
================================================

[](#rocket-inertia-and-laravel-app-framework-service)

RocketFramework for Inertia and Laravel.

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

[](#installation)

```
composer install ianrothmann/inertia-laravel-app-service
```

In config/app.php (if it does not auto-configure)

Service provider

```
IanRothmann\InertiaApp\ServiceProviders\InertiaAppServiceProvider::class
```

Facades

```
'Rocket' =>IanRothmann\InertiaApp\Facades\InertiaApp::class
```

Publish the config

```
php artisan vendor:publish --provider="IanRothmann\InertiaApp\ServiceProviders\InertiaAppServiceProvider"  --tag="config"
```

Configuration
-------------

[](#configuration)

In the `boot` method of `AppServiceProvider.php`:

```
InertiaApp::register()->resolveMenuItemRightsWith(function($code){
            //The code that is required to resolve a menu right
            return Auth::check() && Auth::user()->hasRight($code);
        });
```

Menus
-----

[](#menus)

Menus can be specified in middleware, but can also be modified in any controller before passing the view.

### Usage

[](#usage)

You can give the menu a name, for instance "main", and then chain the items. The icon is optional. If you need a custom item, you can use `->custom`

```
 $group=InertiaApp::menuGroup('Sub-menu','mdi-account')
            ->route('Page 1','pages.page1',[],'mdi-phone')
            ->link('Google','http://google.com','mdi-link');

        InertiaApp::menu('main')
            ->route('Item 1','pages.spec',[1,2],'mdi-home')
            ->route('Item 2','pages.spec',[2,1],'mdi-phone','test')
            ->route('Item 3','pages.spec',[9,8],'mdi-phone')
            ->group($group)
            ->link('Google','http://google.com');
```

### Prepending

[](#prepending)

Sometimes one would like to prepend items (especially when modifying middleware defined menus from the controller. All item functions can start with `prepend` to prepend.

```
$group=InertiaApp::menuGroup(Auth::user()->name,'mdi-account')
            ->route('Update profile','pages.user.profile',[],'mdi-account-card-details-outline')
            ->route('Change password','pages.user.changepassword',[],'mdi-key-variant');

        InertiaApp::menu('main')
            ->prependGroup($group); //or prependRoute, prependCustom etc.
```

### Helpers

[](#helpers)

For brevity, we registered `iview()` which is the same as `Inertia::render()`. You can also use `page_title('Page title here',$addTobreadcrumbs=true)` to set the page title and breadcrumbs.

### Front-end

[](#front-end)

Docs coming soon

### Breadcrumbs

[](#breadcrumbs)

Docs coming soon

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 68% 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 ~70 days

Recently: every ~59 days

Total

20

Last Release

1046d ago

Major Versions

0.0.4 → 1.0.02021-01-29

0.0.6 → 1.0.12021-03-16

0.0.8 → 1.0.22022-05-19

1.0.3 → 2.0.02022-10-05

2.6.0 → 3.02023-07-07

PHP version history (3 changes)0.0.1PHP &gt;=7.3.0

0.0.4PHP &gt;=7.2.0

2.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4319223?v=4)[Ian Rothmann](/maintainers/ianrothmann)[@ianrothmann](https://github.com/ianrothmann)

---

Top Contributors

[![Stian-Scholtz-XTRAPOLATE](https://avatars.githubusercontent.com/u/40195533?v=4)](https://github.com/Stian-Scholtz-XTRAPOLATE "Stian-Scholtz-XTRAPOLATE (17 commits)")[![ianrothmann](https://avatars.githubusercontent.com/u/4319223?v=4)](https://github.com/ianrothmann "ianrothmann (7 commits)")[![go0sedev](https://avatars.githubusercontent.com/u/7044766?v=4)](https://github.com/go0sedev "go0sedev (1 commits)")

### Embed Badge

![Health badge](/badges/ianrothmann-inertia-laravel-app-service/health.svg)

```
[![Health](https://phpackages.com/badges/ianrothmann-inertia-laravel-app-service/health.svg)](https://phpackages.com/packages/ianrothmann-inertia-laravel-app-service)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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