albertcht / lumen-vue-starter by albertcht

A Lumen-Vue SPA starter project template.
693
80
6
Package Data
Maintainer Username: albertcht
Package Create Date: 2017-12-28
Package Last Update: 2018-09-21
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 15:15:12
Package Statistics
Total Downloads: 693
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 80
Total Watchers: 6
Total Forks: 19
Total Open Issues: 2

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