New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

yii2-extensions/app-inertia-vue

Yii2 application template with Inertia.js and Vue 3
16 9

Larablocks Analysis

yii2-extensions/app-inertia-vue has no release yet to check Laravel compatibility against.

Recommendation checks

Use with care

Use with care: meets 0 of 3 checks.

  • No dated releases
  • 0 downloads a month (needs 10,000)
  • 9 GitHub stars (needs 100)

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require yii2-extensions/app-inertia-vue:dev-main
PHP:>=8.3
License:BSD-3-Clause
Last Updated:Nov 26, 2026
Links: GitHub  ·  Packagist
Maintainer: terabytesoftw

Yii Framework

Inertia.js + Vue 3 Application Template


Build Codecov PHPStan Security

Skeleton Yii2 application with Inertia.js + Vue 3 integration
Server-driven SPA with Tailwind CSS v4, Flowbite, dark mode, and Codeception tests

Use the "Use this template" button on GitHub to create your own repository from this template.

Features

Feature Overview Yii 22.0 preview hero and Vite 8 runtime tooling

Quick start

# create a new Yii2 application using the Inertia.js + Vue 3 template
composer create-project --prefer-dist yii2-extensions/app-inertia-vue:^0.1@dev app-vue

# navigate to the application directory
cd app-vue

# run database migrations
./yii migrate/up

# build production assets (one-shot; for live editing see the HMR workflow below)
npm run build

# start the development server
./yii serve

Development workflow with HMR

npm run build produces production assets once and exits. To edit .vue files and see changes in the browser without rebuilding, run two processes side by side:

# Terminal 1 — Vite dev server (HMR for .vue and Tailwind CSS)
npm run dev

# Terminal 2 — Yii2 in dev mode
YII_ENV=dev ./yii serve

How the pieces connect:

  • public/index.php reads the YII_ENV environment variable. When it equals dev, Yii's service locator lazily constructs the framework-agnostic Vite facade with DevelopmentConfiguration, and the root view emits <script> tags pointing at http://localhost:5174 instead of the built manifest.
  • Vue HMR is carried natively by @vite/client together with @vitejs/plugin-vue; no additional preamble is required.
  • Before deploying, stop the Vite dev server, run npm run build, unset YII_ENV (or set it to prod), and serve public/. ProductionConfiguration reads hashed assets from public/build/ via the Vite manifest.

For manifest options, development-server behavior, and CORS configuration, see the php-forge/vite documentation.

Docker

Apache

docker compose up -d

Documentation

Package information

PHP Yii 22.0.x Latest Stable Version Total Downloads

Quality code

PHPStan Level Max Quality StyleCI

Our social networks

Follow on X

License

License

Alternatives to yii2-extensions/app-inertia-vue

storyfeed/ui

Renderers for Storyfeed activity feeds: Blade, Vue/Inertia and React/Inertia com...

27,036 0
inertiaui/notifications

Toasts and notifications for Laravel + Inertia.js

5,035 32
j87nl/laravel-vue-mailbox

A VueJS/Inertia shared mailbox UI for j87nl/laravel-mailbox, built on the FormBu...

1,458 0
xelqun/forms

PHP-defined, schema-driven forms for Laravel, Inertia and Vue.

499 0
givanov95/laravel-data-table

A server-side DataTable builder for Laravel with a matching Vue 3 + Inertia fron...

1,690 0