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

AbandonedArchivedLibrary[Framework](/categories/framework)

pallares/laravel-nuxt
=====================

Build a SPA with Laravel and Nuxt

1.5.0(5y ago)12564.2k↓16.7%21MITPHPPHP &gt;=7.0.0

Since Feb 7Pushed 5y ago2 watchersCompare

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

READMEChangelogDependencies (1)Versions (13)Used By (0)

Warning: this project has been deprecated
=========================================

[](#warning-this-project-has-been-deprecated)

`laravel-nuxt` was created to offer some sugar when working locally with Laravel+Nuxt, solving some cookie problems in the process. Today, it isn't necessary anymore.

We recommend using [Laravel Sanctum](https://laravel.com/docs/8.x/sanctum), which plays nicely with SPAs (see [Sanctum's SPA Authentication section](https://laravel.com/docs/8.x/sanctum#spa-authentication)). If you can't migrate, just keep using `laravel-nuxt`.

Laravel Nuxt
============

[](#laravel-nuxt)

This package allows you to build a SPA with Laravel and Nuxt.

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

[](#installation)

```
composer require pallares/laravel-nuxt
```

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider in `config/app.php` file:

```
return [
  // ...
  'providers' => [
      // ...
      Pallares\LaravelNuxt\LaravelNuxtServiceProvider::class,
  ],
];
```

You need to add a fallback route that will render the SPA page in `routes/web.php` file:

```
// ...
// Add this route the last, so it doesn't interfere with your other routes.
Route::get(
    '{uri}',
    '\\'.Pallares\LaravelNuxt\Controllers\NuxtController::class
)->where('uri', '.*');
```

Finally, you must install the [laravel-nuxt](https://github.com/skyrpex/laravel-nuxt-js) npm package. After following the instructions, run `npm run build` and try your SPA!

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~98 days

Total

11

Last Release

2038d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7aff591e4a3613548df0ce7473027339ec3fc8f5923ef0d136548176c007e3c4?d=identicon)[skyrpex](/maintainers/skyrpex)

---

Top Contributors

[![skyrpex](https://avatars.githubusercontent.com/u/1077520?v=4)](https://github.com/skyrpex "skyrpex (10 commits)")[![GautierDele](https://avatars.githubusercontent.com/u/12382966?v=4)](https://github.com/GautierDele "GautierDele (2 commits)")

---

Tags

laravelnuxtphpspavuelaravelvueSPAnuxt

### Embed Badge

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

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

###  Alternatives

[cretueusebiu/laravel-nuxt

A Laravel-Nuxt starter project template.

1.1k6.3k](/packages/cretueusebiu-laravel-nuxt)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11812.4k21](/packages/kompo-kompo)

PHPackages © 2026

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