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

ActiveProject[Framework](/categories/framework)

cretueusebiu/laravel-nuxt
=========================

A Laravel-Nuxt starter project template.

3.0.0(5y ago)1.1k6.3k255[11 issues](https://github.com/cretueusebiu/laravel-nuxt/issues)[2 PRs](https://github.com/cretueusebiu/laravel-nuxt/pulls)MITPHPPHP ^7.3|^8.0

Since Jan 10Pushed 4y ago39 watchersCompare

[ Source](https://github.com/cretueusebiu/laravel-nuxt)[ Packagist](https://packagist.org/packages/cretueusebiu/laravel-nuxt)[ RSS](/packages/cretueusebiu-laravel-nuxt/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (14)Versions (13)Used By (0)

Laravel-Nuxt
============

[](#laravel-nuxt)

[![Build Status](https://github.com/cretueusebiu/laravel-nuxt/workflows/tests/badge.svg)](https://github.com/cretueusebiu/laravel-nuxt/actions)[![Total Downloads](https://camo.githubusercontent.com/251dbfc36c788384cea3a80ab44ae4b2c913ec771b48d760b29c046e8c1808a6/68747470733a2f2f706f7365722e707567782e6f72672f6372657475657573656269752f6c61726176656c2d6e7578742f642f746f74616c2e737667)](https://packagist.org/packages/cretueusebiu/laravel-nuxt)[![Latest Stable Version](https://camo.githubusercontent.com/936b26d53bff5c8565ac9df9dedebba2b3f0989e5bddc770c958eb5c454d8221/68747470733a2f2f706f7365722e707567782e6f72672f6372657475657573656269752f6c61726176656c2d6e7578742f762f737461626c652e737667)](https://packagist.org/packages/cretueusebiu/laravel-nuxt)

> A Laravel-Nuxt starter project template.

[![](https://camo.githubusercontent.com/2d4b9f1a88ebc46bcff7b3fb996b3e83d683d5ac94317af47571cd11bf2e248a/68747470733a2f2f692e696d6775722e636f6d2f4e4846547347742e706e67)](https://camo.githubusercontent.com/2d4b9f1a88ebc46bcff7b3fb996b3e83d683d5ac94317af47571cd11bf2e248a/68747470733a2f2f692e696d6775722e636f6d2f4e4846547347742e706e67)

Features
--------

[](#features)

- Nuxt 2
- Laravel 8
- SPA or SSR
- Socialite integration
- VueI18n + ESlint + Bootstrap 4 + Font Awesome 5
- Login, register, email verification and password reset

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

[](#installation)

- `composer create-project --prefer-dist cretueusebiu/laravel-nuxt`
- Edit `.env` and set your database connection details
- (When installed via git clone or download, run `php artisan key:generate` and `php artisan jwt:secret`)
- `php artisan migrate`
- `npm install`

Usage
-----

[](#usage)

### Development

[](#development)

```
# start Laravel
php artisan serve

# start Nuxt
npm run dev
```

Access your application at `http://localhost:3000`.

### Production

[](#production)

```
npm run build
```

### Enable SSR

[](#enable-ssr)

- Edit `client/nuxt.config.js` and set `ssr: true`
- Edit `.env` to set `APP_URL=http://api.example.com` and `CLIENT_URL=http://example.com`
- Run `npm run build` and `npm run start`

#### Nginx Proxy

[](#nginx-proxy)

For Nginx you can add a proxy using the follwing location block:

```
server {
    location / {
        proxy_pass http://http://127.0.0.1:3000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}

```

#### Process Manager

[](#process-manager)

In production you need a process manager to keep the Node server alive forever:

```
# install pm2 process manager
npm install -g pm2

# startup script
pm2 startup

# start process
pm2 start npm --name "laravel-nuxt" -- run start

# save process list
pm2 save

# list all processes
pm2 l
```

After each deploy you'll need to restart the process:

```
pm2 restart laravel-nuxt
```

Make sure to read the [Nuxt docs](https://nuxtjs.org/).

Socialite
---------

[](#socialite)

This project comes with GitHub as an example for [Laravel Socialite](https://laravel.com/docs/5.8/socialite).

To enable the provider create a new GitHub application and use `https://example.com/api/oauth/github/callback` as the Authorization callback URL.

Edit `.env` and set `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` with the keys form your GitHub application.

For other providers you may need to set the appropriate keys in `config/services.php` and redirect url in `OAuthController.php`.

Email Verification
------------------

[](#email-verification)

To enable email verification make sure that your `App\User` model implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract.

Notes
-----

[](#notes)

- This project uses [router-module](https://github.com/nuxt-community/router-module), so you have to add the routes manually in `client/router.js`.
- If you want to separate this in two projects (client and server api), move `package.json` into `client/` and remove config path option from the scripts section. Also make sure to add the env variables in `client/.env`.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 89% 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 ~95 days

Recently: every ~233 days

Total

12

Last Release

1991d ago

Major Versions

1.1.0 → 2.0.02019-07-26

2.2.0 → 3.0.02020-11-28

PHP version history (4 changes)1.0.0PHP &gt;=7.0.0

1.1.0PHP ^7.1.3

2.1.0PHP ^7.2

3.0.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/43c2999e83614acd2ad1b9df54d88807b2cf723814d5af019084fe5884fa7930?d=identicon)[cretueusebiu](/maintainers/cretueusebiu)

---

Top Contributors

[![cretueusebiu](https://avatars.githubusercontent.com/u/1517945?v=4)](https://github.com/cretueusebiu "cretueusebiu (97 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![BenceSzalai](https://avatars.githubusercontent.com/u/14061916?v=4)](https://github.com/BenceSzalai "BenceSzalai (1 commits)")[![H37kouya](https://avatars.githubusercontent.com/u/46477357?v=4)](https://github.com/H37kouya "H37kouya (1 commits)")

---

Tags

laravelnuxtserver-renderingspassruniversalvuelaravelvueSPAnuxt

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[cretueusebiu/laravel-vue-spa

A Laravel-Vue SPA starter project template.

3.0k18.8k](/packages/cretueusebiu-laravel-vue-spa)

PHPackages © 2026

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