小编bel*_*v91的帖子

Laravel Passport使用不同的模型

我想为使用Passport但使用不同型号(不是用户)的Laravel添加一个自定义防护,但是当我尝试为这个防护设置用户时它不起作用.

配置/ auth.php:

<?php

return [

/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for your application. You may change these defaults
| as required, but they're a perfect start for most applications.
|
*/

'defaults' => [
    'guard' => 'web',
    'passwords' => 'users',
],

/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great …
Run Code Online (Sandbox Code Playgroud)

php api laravel laravel-passport

8
推荐指数
2
解决办法
6586
查看次数

哪个是Laravel 5最好的购物车?

我想用Laravel 5构建在线商店.这个框架对我来说是新的.

所以问题是哪个是Laravel 5最好的购物车?

php shopping-cart cart laravel laravel-5

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

laravel ×2

php ×2

api ×1

cart ×1

laravel-5 ×1

laravel-passport ×1

shopping-cart ×1