sa范-lab/oauth2

Safan框架的Oauth2库

1.0.5 2022-07-12 17:53 UTC

This package is not auto-updated.

Last update: 2024-09-18 05:32:53 UTC


README

Safan框架的Oauth2库

REQUIREMENTS

PHP >= 7.1, gap-db/orm = 1., gap-db/orm-cache = 1., symfony/http-foundation = 4.*,

INSTALLATION

如果您使用Composer管理项目依赖,请将以下内容添加到您的"composer.json"文件中

"require": {
    "safan/oauth2": "1.*"
}

更新模块配置列表 - safan-framework-standard/application/Settings/modules.config.php

<?php
return [
    // Safan Framework default modules route
    'Safan'         => 'vendor/safan-lab/safan/Safan',
    'SafanResponse' => 'vendor/safan-lab/safan/SafanResponse',
    // Write created or installed modules route here ... e.g. 'FirstModule' => 'application/Modules/FirstModule'
    'Oauth2'        => 'vendor/safan-lab/oauth2/Oauth2',
    'GapOrm'        => 'vendor/gap-db/orm/GapOrm',
    'GapOrmCache'   => 'vendor/gap-db/orm-cache/GapOrmCache'
];