Skip to content
A Laravel-Vue SPA starter project template.
Branch: master
Clone or download
Latest commit 377da70 Jul 28, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
bootstrap Upgrade to Laravel 5.8 Apr 14, 2019
config Upgrade to Laravel 5.8 Apr 14, 2019
database Upgrade to Laravel 5.8 Apr 14, 2019
public Apply fixes from StyleCI Apr 15, 2019
resources Update welcome.vue May 19, 2019
storage Upgrade to Laravel 5.8 Apr 14, 2019
tests Implement email verification (api only) May 16, 2019
.babelrc Trying to fix invalid build behavior, after laravel-mix 2.1.11 -> 4.0.15 Apr 26, 2019
.editorconfig Upgrade to Laravel 5.8 Apr 14, 2019
.env.example Update .env.example May 19, 2019
.eslintrc Update eslint Oct 21, 2018
.gitignore Update .gitignore May 16, 2019
LICENSE Init Jan 16, 2017
artisan Upgrade to Laravel 5.5 and Bootstrap 4 beta1 Sep 2, 2017
composer.json Drop package `staudenmeir/dusk-updater`, because it merged into `dusk` May 4, 2019
package-lock.json Bump axios from 0.18.0 to 0.18.1 Jun 1, 2019
phpunit.xml Upgrade to Laravel 5.8 Apr 14, 2019
webpack.mix.js Update webpack.mix.js May 5, 2019

Laravel-Vue SPA

Build Status Total Downloads Latest Stable Version

A Laravel-Vue SPA starter project template.


  • Laravel 5.8
  • Vue + VueRouter + Vuex + VueI18n + ESlint
  • Pages with dynamic import and custom layouts
  • Login, register, email verification and password reset
  • Authentication with JWT
  • Socialite integration
  • Bootstrap 4 + Font Awesome 5


  • composer create-project --prefer-dist cretueusebiu/laravel-vue-spa
  • 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



# build and watch
npm run watch

# serve with hot reloading
npm run hot


npm run production


This project comes with GitHub as an example for Laravel Socialite.

To enable the provider create a new GitHub application and use 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

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


Please see CHANGELOG for more information what has changed recently.

You can’t perform that action at this time.