Skip to content

albertcht/lumen-vue-starter

Repository files navigation

Lumen Vue Starter

php-badge packagist-badge Total Downloads travis-badge

A Lumen-Vue SPA starter project template.

Features

  • Lumen 5.6
  • Helpers in Laravel style
  • Testing in Laravel style
  • Tinker command
  • Serve command
  • Support Form Request Validation
  • Vue + VueRouter + Vuex + VueI18n
  • Pages with custom layouts
  • Login, register and password reset
  • Authentication with JWT (Auto refresh)
  • Socialite integration
  • Bootstrap 4 + Font Awesome 5

Installation

  • composer create-project --prefer-dist albertcht/lumen-vue-starter
  • Edit .env and set your database connection details
  • php artisan migrate
  • php artisan jwt:secret
  • yarn / npm install

Usage

Development

# build and watch
yarn watch

# serve with hot reloading
yarn hot

Production

yarn production

# or this
yarn build

Reference

This is a porting version from laravel-vue-spa