albertcht / lumen-vue-starter

A Lumen-Vue SPA starter project template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Lumen-Vue SPA starter project template.


Languages

Language:PHP 65.2%Language:Vue 21.2%Language:JavaScript 11.1%Language:CSS 1.4%Language:HTML 1.1%