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: 2024-11-13 22:58:43 UTC


README

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