fdt2k/kda-webshop
Composer 安装命令:
composer require fdt2k/kda-webshop
包简介
README 文档
README
Customers Auth
sail artisan vendor:publish --provider="KDA\Webshop\CustomerProvider" --tag="config" --force
Install
Configure Laravel auth guard To enable auth, you have to add config/auth.php
'guards' => [
...
'customers'=> [
'driver' => 'session',
'provider' => 'users' // <- change this if you need another model
]
...
],
If you need to use another model
'providers' => [
...
'users' => [
'driver' => 'eloquent',
'model' => App\Models\Customer::class,
],
...
],
in your model (the default one or the custom one), you have to declare the guard
class User extends Authenticatable
{
protected $guard_name = 'customers';
Orders
Products
Basket
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-02-04