albertcht / lumen-vue-starter
A Lumen-Vue SPA starter project template.
Installs: 693
Dependents: 0
Suggesters: 0
Security: 0
Stars: 80
Watchers: 6
Forks: 19
Open Issues: 2
Type:project
Requires
- php: >=7.1
- albertcht/lumen-form-request: ^2.3
- albertcht/lumen-helpers: dev-master
- guzzlehttp/guzzle: ^6.3
- illuminate/mail: ^5.6
- illuminate/notifications: ^5.6
- laravel/lumen-framework: 5.6.*
- laravel/socialite: ^3.0
- mlntn/lumen-artisan-serve: ^1.2
- ramsey/uuid: ^3.7
- unisharp/laravel-jwt: ^0.2.6
- vlucas/phpdotenv: ~2.2
- vluzrmos/tinker: dev-master
Requires (Dev)
- albertcht/lumen-testing: ^0.7
- codedungeon/phpunit-result-printer: ^0.4.4
- fzaninotto/faker: ~1.4
- mockery/mockery: ~1.0
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-11-13 22:58:43 UTC
README
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