mirror of
http://124.126.16.154:8888/singularity/hyperf-saml.git
synced 2026-01-15 07:35:07 +08:00
24 lines
424 B
Markdown
24 lines
424 B
Markdown
# HyperfSaml
|
|
用于快速接入单点登录的 Hyperf Component。
|
|
|
|
## 安装
|
|
|
|
```
|
|
composer config secure-http false \
|
|
&& composer config repo.lux-map composer https://satis.luxcreo.cn/ \
|
|
&& composer require singularity/hyperf-saml "dev-master"
|
|
```
|
|
|
|
## 准备
|
|
|
|
### 发布配置文件
|
|
|
|
```shell
|
|
php bin/hyperf.php vendor:publish singularity/hyperf-saml
|
|
```
|
|
|
|
### 生成密钥对
|
|
|
|
```shell
|
|
sh -ex ./vendor/bin/generate-cert
|
|
``` |