stormpath / sdk
A PHP wrapper for Stormpath's API
Installs: 59 910
Dependents: 5
Suggesters: 0
Security: 1
Stars: 72
Watchers: 35
Forks: 48
Open Issues: 23
Requires
- php: >=5.5
- cache/array-adapter: 0.4.*
- cache/memcached-adapter: 0.3.*
- cache/redis-adapter: 0.4.*
- cache/taggable-cache: 0.4.*
- cache/void-adapter: 0.3.*
- firebase/php-jwt: 4.0.*
- guzzlehttp/psr7: ^1.3
- php-http/client-common: ^1.2
- php-http/curl-client: ^1.0
- php-http/discovery: ^1.0
- php-http/httplug: ^1.0
- php-http/message: ^1.3
- phpseclib/phpseclib: 0.3.*|~1.0|~2.0
- psr/http-message: ^1.0
Requires (Dev)
Suggests
- php: >=5.6
- dev-master
- 1.19.0
- 1.18.0
- 1.17.2
- 1.17.1
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.2
- 1.12.1
- 1.12.0
- 1.11.0.beta
- 1.10.0.beta
- 1.9.0.beta
- 1.8.1.beta
- 1.8.0.beta
- 1.7.0.beta
- 1.6.0.beta
- 1.5.0.beta
- 1.4.0.beta
- 1.3.0.beta
- 1.2.1.beta
- 1.2.0.beta
- 1.1.0.beta
- 1.0.1.beta
- 1.0.0.beta
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.0
- dev-dev
- dev-feature/issue_198_base_url_pinning
- dev-feature/issue_201_id_site_mfa
- dev-feature/issue_202
- dev-feature/issue_199_special_char_in_password
- dev-feature/issue_186_ttl_tti
This package is not auto-updated.
Last update: 2020-01-24 15:02:58 UTC
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.