awoyotoyin/zfe-auth

Zend Expressive 用户认证的通用库

dev-master 2018-04-24 23:36 UTC

This package is not auto-updated.

Last update: 2024-09-15 05:28:54 UTC


README

安装

$ composer require awoyotoyin/zfe-auth:dev-master

注册模块

此模块需要awoyotoyin/zfe-base模块,并且必须注册才能正常工作

Zend Expressive

use Zfe\Common\ConfigProvider as CommonConfigProvider;
use Zfe\Auth\ConfigProvider as AuthConfigProvider;

$aggregator = new ConfigAggregator([
    ...
    CommonConfigProvider::class,
    AuthConfigProvider::class,
    ...
], $cacheConfig['config_cache_path']);

使用

正在进行中