lucor / laravel-auth-file-driver
为 Laravel 的文件认证驱动
0.9.1
2014-06-18 09:56 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- illuminate/auth: >=4.1.26
- illuminate/support: >=4.1.26
- mockery/mockery: @stable
- phpunit/phpunit: @stable
This package is auto-updated.
Last update: 2024-08-29 04:03:20 UTC
README
为 Laravel 提供的文件认证驱动。
安装
Composer
像往常一样,通过 Composer 安装此包。
"require": { "lucor/laravel-auth-file-driver": "0.9.*" }
服务提供者配置
在 app/config/app.php
中的 providers
部分添加服务提供者
'providers' => array( ... 'Lucor\Auth\AuthServiceProvider', )
驱动配置
在 app/config/auth.php
中更改默认驱动
'driver' => 'file',
用户配置
执行配置发布命令
php artisan config:publish lucor/laravel-auth-file-driver
.
这将添加用户配置文件至 app/config/packages/lucor/auth/users.php
。
版权和许可证
此包在 MIT 许可证下发布。有关详细信息,请参阅 LICENSE 文件。