linfaservice/spid-cie-oidc-php
Composer 安装命令:
composer create-project linfaservice/spid-cie-oidc-php
包简介
SPID CIE OIDC PHP
README 文档
README
The SPID/CIE OIDC Federation Relying Party for PHP
Summary
- What is SPID/CIE OIDC PHP
- Features
- Setup
- Example projects
- Contribute
- Useful links
- License and Authors
What is SPID/CIE OIDC PHP
SPID/CIE OIDC PHP is:
- A PHP class library that helps to develop a relying party for SPID/CIE
Are you a Developer and you want to make your own relying party or a plugin for your software?
Read the Technical documentation. - A standalone proxy relying party for SPID/CIE
You can simply setup the proxy project and configure the URL where to receive users's attributes. You can also choice how the attributes will be returned from the proxy, such as plain values, signed or encrypted.
Read How to use as a proxy. - A generic OIDC to SPID/CIE OIDC relying party gateway
Can your application connect to a standard OIDC Provider, but it doesn't have extended functionalities required by the SPID/CIE OIDC Federation? No problem, you can configure your client as a relying party to SPID/CIE OIDC PHP Provider and it will make the rest.
Read How to use as a generic OIDC Provider.
Features
- Interactive setup
- Wizard for certificates generation
- Bootstrap template
- Hooks plugins
- Simple API
- Proxy functions
- Ready to use
Setup
git clone https://github.com/italia/spid-cie-oidc-php.git
composer install
After setup go to /service_name/oidc/rp/authz where service_name is the service name configured during setup.
Example projects
Start the basic example project is as simple as run:
docker pull linfaservice/spid-cie-oidc-php
docker run -it -p 8002:80 -v $(pwd)/config:/var/www/spid-cie-oidc-php/config linfaservice/spid-cie-oidc-php
On the first run the setup will ask for configurations. All configurations will be saved in the ./config directory.
The repository also provides example projects to set up a complete SPID/CIE OIDC Federation.
Read how to set up a federation with the WordPress Example Project.
Read how to set up a federation with the Drupal Example Project.
Contribute
Your contribution is welcome, no question is useless and no answer is obvious, we need you.
Contribute as end user
Please open an issue if you've discoveerd a bug or if you want to ask some features.
Contribute as developer
Please open your Pull Requests on the dev branch. Please consider the following branches:
- main: where we merge the code before tag a new stable release.
- dev: where we push our code during development.
- other-custom-name: where a new feature/contribution/bugfix will be handled, revisioned and then merged to dev branch.
In this project we adopt Semver and Conventional commits specifications.
Useful links
License and Authors
This software is released under the Apache 2 License by:
- Michele D'Amico (@damikael) michele.damico@linfaservice.it.
linfaservice/spid-cie-oidc-php 适用场景与选型建议
linfaservice/spid-cie-oidc-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 21, 最近一次更新时间为 2022 年 04 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 linfaservice/spid-cie-oidc-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 linfaservice/spid-cie-oidc-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-04-02
