tokenly/laravel-api-provider 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.php and add a file with settings like the ones below
<?php

return [

    'userRepositoryClass' => 'App\Repositories\UserRepository',
    'userClass'           => 'App\Models\User',

];
  • Update config/auth.php and modify the user class
    // ...
    'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => App\Models\User::class,
        ],
    ],
    // ...

统计信息

  • 总下载量: 15.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-only
  • 更新时间: 2015-02-13