wizkunde/samlbase
最新稳定版本:1.6.3
Composer 安装命令:
composer require wizkunde/samlbase
包简介
Library for SAML2 Service Providers in PHP
README 文档
README
##Introduction Build a feature rich SAML Service Provider that is able to communicate to literally any SAML2 Identity Provider. It covers almost the full scope of SAML2 and the base is increasing.
The library is used to connect global market leaders to their SAML2 Identity Providers.
##Features
- Resolve the Metadata from the Identity Provider
- Automatic Service Provider Metadata to exchange with the Identity Provider
- Authenticate via POST and Redirect Bindings
- Assertion Consumer Service
- Artifact Resolution with Redirect and POST Bindings using HTTP-Artifact
- Handle the Authentication response from the Identity Provider
- Single Logout via POST and Redirect
- Identity Provider initiated Single Logout
- Attributes mapping
- Sign and Verify all requests and metadata
- Multiple NameID Formats
- Encryption and Decryption
##Setup composer require gogentooss/samlbase
Coming soon
1. Add Scoping and Conditions to AuthnRequest
2. Add AttributeQuery and AttributeResponse
3. Apply Assertions
4. Support multiple identifier types (BaseID, NameID, EncryptedID)
5. Add Statement Element support
6. Add Advice Element support
7. Increase the SAML2 scope compatibility of the library (Continuous, version 1.1.0 has a lot of these already)
8. Add the SOAP Binding for ACS
Examples (relative to package root)
/example/metadata.php - Service Provider Metadata
/example/index.php - Example AuthNRequest (Redirect and POST binding)
/example/response.php - Example AuthNResponse target file (POST Binding)
/example/attributes.php - WIP AttributeQuery request after being logged in (requires attributequery service on the IDP)
/example/logout.php - Logout request
/example/logoutresponse.php - Example LogoutResponse handling
License information
This code is released under the OSL v3 license
Info about the license can be found here: https://opensource.org/licenses/OSL-3.0
wizkunde/samlbase 适用场景与选型建议
wizkunde/samlbase 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 359.85k 次下载、GitHub Stars 达 12, 最近一次更新时间为 2015 年 01 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「SSO」 「SAML2」 「SAMLBase」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 wizkunde/samlbase 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wizkunde/samlbase 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 wizkunde/samlbase 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel package for Saml2 integration as a SP (service provider) for multiple IdPs, based on OneLogin toolkit which is much more lightweight than simplesamlphp.
A Laravel package for Saml2 integration as a SP (service provider) for multiple IdPs, based on OneLogin toolkit which is much more lightweight than simplesamlphp.
Simple Single Sign-On
Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Alfabank REST API integration
This package provides a wrapper to onelogin/php-saml library.
统计信息
- 总下载量: 359.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2015-01-13