stormpath/sdk
最新稳定版本:1.19.0
Composer 安装命令:
composer require stormpath/sdk
包简介
A PHP wrapper for Stormpath's API
关键字:
README 文档
README
#Stormpath is Joining Okta We are incredibly excited to announce that Stormpath is joining forces with Okta. Please visit the Migration FAQs for a detailed look at what this means for Stormpath users.
We're available to answer all questions at support@stormpath.com.
Stormpath PHP SDK
Stormpath is a complete user management API. This library gives your PHP application access to all of Stormpath's features:
- Robust authentication and authorization.
- Schemaless user data and profiles.
- A hosted login subdomain, for easy Single Sign-On across your apps.
- External login with social providers like Facebook and Google, or SAML IdPs.
- Secure API key authentication for your service.
Installation
stormpath-sdk-php is available on Packagist as the stormpath/sdk package.
Run composer require stormpath/sdk from the root of your project in terminal, and you are done.
Quickstart
To learn how to use the Stompath PHP SDK in a simple project, follow our quickstart:
Full Documentation
We have moved our full documentation away from the Github readme file. For full documentation, please visit our new documentation
Testing
The PHP SDK uses phpunit for testing. These tests are full integration tests which means it hits actual endpoints of the API.
To setup testing, first, clone the repository. You will not be able to run the tests from your vendor folder as all unnecessary items are removed when you require the SDK with composer. You will also need to set an environment variable to set up your API keys.
On Mac
export STORMPATH_SDK_TEST_API_KEY_FILE_LOCATION=path_to_apiKey.properties_file
On Windows
setx STORMPATH_SDK_TEST_API_KEY_FILE_LOCATION path_to_apiKey.properties_file
After you have this set, you will be able to run phpunit from the root of the SDK folder. If your API keys are not from a subscription that has access to
the SAML resources, you will have to make sure you skip those tests. You can do so by running phpunit --exclude-group=saml from the command line.
Contributing
Contributions, bug reports, and issues are very welcome! Stormpath regularly maintains this repository, and are quick to review pull requests and accept changes.
You can make your own contributions by forking the develop branch of this repository, making your changes, and issuing pull requests against the develop branch.
Continuous Integration (Travis CI)
Please note that due to security reasons, travis will not run pull requests submitted. With your pull request, please submit the results of the tests in the comments.
Documentation
If you feel the contributions require document changes as well, or the contributions you want to make are for documentation, please submit a PR to our documentation repo
Copyright
Copyright © 2013-2017 Stormpath, Inc. and contributors.
This project is open-source via the Apache 2.0 License.
stormpath/sdk 适用场景与选型建议
stormpath/sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 60.14k 次下载、GitHub Stars 达 72, 最近一次更新时间为 2012 年 08 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「User management」 「security」 「api」 「Authentication」 「cloud」 「stormpath」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 stormpath/sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 stormpath/sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 stormpath/sdk 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Provide a way to secure accesses to all routes of an symfony application.
It's a barebone security class written on PHP
A Silverstripe module to allow you to log into any of your Silverstripe sites from one place.
Task system for APPUI
Contao CMS integrity check for some files
Standalone replacement for php's native get_browser() function
统计信息
- 总下载量: 60.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 73
- 点击次数: 29
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2012-08-23