PHPackages                             webazin/laravel-nuxt - 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. webazin/laravel-nuxt

ActiveLibrary[Framework](/categories/framework)

webazin/laravel-nuxt
====================

NuxtJS framework integration for Laravel

02PHP

Since Jul 1Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

NuxtJS for Laravel
==================

[](#nuxtjs-for-laravel)

This package facilitates integrating an SPA built with NuxtJS into an existing Laravel project.

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

[](#installation)

```
composer require Webazin/laravel-nuxt
```

After installation you can publish the config.

```
php artisan vendor:publish --provider="Webazin\LaravelNuxt\LaravelNuxtServiceProvider"
```

Setup
-----

[](#setup)

The package provides a command for easy installation and integration of a nuxt project.

```
$ php artisan nuxt:install -h
Description:
  Create a new nuxt project or setup integration of an existing one

Usage:
  nuxt:install [options] [--] []

Arguments:
  source                 Root folder of the nuxt application [default: "resources/nuxt"]

Options:
  -y, --yarn             Use yarn package manager
  -t, --typescript       Use typescript runtime
  -c, --cache[=CACHE]    Optional caching endpoint (e.g. /api/cache)
  -p, --prefix[=PREFIX]  Prefix for the nuxt application (will use value from `config('nuxt.prefix')` if omitted)
      --no-export        Do not export env variable on build
  -h, --help             Display this help message
  -q, --quiet            Do not output any message
  -V, --version          Display this application version
      --ansi             Force ANSI output
      --no-ansi          Disable ANSI output
  -n, --no-interaction   Do not ask any interactive question
      --env[=ENV]        The environment the command should run under
  -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```

Automatic routing
-----------------

[](#automatic-routing)

By default the package automatically adds a route for nuxt pages.

`Nuxt::route('/{path?}')->where('path', '.*')->name('nuxt');`

This route is named `'nuxt'` and can be used with Laravels route helper.

```
route('nuxt');

// or

route('nuxt', ['path' => 'some/deep/path']);
```

You can disable/enable automatic routing with the `'routing'` setting in `config/nuxt.php`.

Manual Routing
--------------

[](#manual-routing)

The package provides a simple facade which might be used to register nuxt routes.
Routes will automatically be prefixed with the configured path and a controller will be attached which handles internal redirection to nuxt.
The method returns a `Illuminate\Routing\Route` instance and may be used as normal.

In `routes/web.php`:

```
use Webazin\LaravelNuxt\Facades\Nuxt;

Nuxt::route('example/route')->name('nuxt.example');
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/77ce3d4e5f45a422fb431d417329de94d8b99391fe2f131054f16fdb849a0f7a?d=identicon)[webazin](/maintainers/webazin)

---

Top Contributors

[![mentAl-maZe](https://avatars.githubusercontent.com/u/8998404?v=4)](https://github.com/mentAl-maZe "mentAl-maZe (34 commits)")[![mahdi4187](https://avatars.githubusercontent.com/u/25785927?v=4)](https://github.com/mahdi4187 "mahdi4187 (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/webazin-laravel-nuxt/health.svg)

```
[![Health](https://phpackages.com/badges/webazin-laravel-nuxt/health.svg)](https://phpackages.com/packages/webazin-laravel-nuxt)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M256](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M593](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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