albertcht / lumen-vue-starter
Lumen-Vue SPA 开发模板项目。
v1.2
2018-09-21 06:49 UTC
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-09-13 22:42:27 UTC
README
Lumen-Vue SPA 开发模板项目。
特性
- Lumen 5.6
- Laravel 风格的辅助函数
- Laravel 风格的测试
- Tinker 命令
- Serve 命令
- 支持表单请求验证
- Vue + VueRouter + Vuex + VueI18n
- 具有自定义布局的页面
- 登录、注册和密码重置
- 使用 JWT 进行身份验证(自动刷新)
- Socialite 集成
- Bootstrap 4 + Font Awesome 5
安装
composer create-project --prefer-dist albertcht/lumen-vue-starter
- 编辑
.env
并设置您的数据库连接详细信息 php artisan migrate
php artisan jwt:secret
yarn
/npm install
使用方法
开发
# build and watch yarn watch # serve with hot reloading yarn hot
生产
yarn production
# or this
yarn build
参考
这是从 laravel-vue-spa 的移植版本。