jasonc/laravel-cache-user

用缓存对用户认证,提供读取能力

1.0.1 2020-11-24 07:46 UTC

This package is auto-updated.

Last update: 2022-06-24 11:12:06 UTC


README

安装

composer require jasonc/laravel-cache-user

使用

修改配置文件

'providers' => [
     'users' => [
         'driver' => 'cache',
         'model'  => App\Models\User::class
    ],
 ]

声明

修改自 yangjisen/laravel-cache-provider