kk0501 / laravel5-admin-api
an api with admin
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
- barryvdh/laravel-cors: ^0.9.3
- dingo/api: v2.0.0-alpha1
- encore/laravel-admin: ^1.5
- fideloper/proxy: ~3.3
- laravel-admin-ext/api-tester: ^1.0
- laravel-admin-ext/helpers: ^1.0
- laravel-admin-ext/log-viewer: ^1.0
- laravel-admin-ext/media-manager: ^1.0
- laravel/framework: 5.5.*
- laravel/tinker: ~1.0
- tymon/jwt-auth: dev-develop
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.1
- filp/whoops: ~2.0
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2025-03-22 02:41:20 UTC
README
这是一个使用laravel5.5 + dingo + jwt + cors + laravel admin开发的一个api框架.
安装步骤
use composer
composer create-project kk0501/laravel5-admin-api
php artisan api:install
or
use git
1. git clone https://github.com/kk0501/laravel5-admin-api.git
2. cp .env.example .env
3. 修改数据库配置
4. php artisan jwt:secret
5. php artisan api:install
执行完上面的步骤, 即可开始使用
useage:
- 访问:http://your-domain:port/admin, 默认登录信息为admin/admin