albertcht/lumen-vue-starter

A Lumen-Vue SPA starter project template.

v1.2 2018-09-21 06:49 UTC

This package is auto-updated.

Last update: 2019-12-13 12:21:33 UTC


README

php-badge packagist-badge Total Downloads travis-badge

A Lumen-Vue SPA starter project template.

68747470733a2f2f692e696d6775722e636f6d2f4e4846547347742e706e67

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