tokenly/laravel-api-provider
最新稳定版本:v3.3.1
Composer 安装命令:
composer require tokenly/laravel-api-provider
包简介
An API service provider for Laravel
README 文档
README
An API service provider for Laravel. Used by various Tokenly services.
Installation
composer require tokenly/laravel-api-provider- Create
config/api.phpand add a file with settings like the ones below
<?php return [ 'userRepositoryClass' => 'App\Repositories\UserRepository', 'userClass' => 'App\Models\User', ];
- Update
config/auth.phpand modify the user class
// ...
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Models\User::class,
],
],
// ...
统计信息
- 总下载量: 15.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-only
- 更新时间: 2015-02-13