Download the PHP package programster/google-sso without Composer
On this page you can find all versions of the php package programster/google-sso. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download programster/google-sso
More information about programster/google-sso
Files in programster/google-sso
Package google-sso
Short Description Apackage for integrating with Google SSO
License MIT
Homepage https://github.com/programster/package-google-sso
Informations about the package google-sso
Google SSO Package
A package to make it easy to use Google SSO (OAuth 2 / OIDC), without minimal bloat and lots of flexibility.
This package makes use of the PSR-17 and PSR-18 interfaces, so this package should be able to work
with any existing mechanism you use to send messages. If you are not sure what this means, then
we would recommend that you just install the guzzlehttp/guzzle
package, and follow the example
in the README. If you cannot use Guzzle for whatever reason, then slim/psr7
is a good alternative.
Please be aware that this package requires the use of the $_SESSION
superglobal
Usage
Installation
Install this in your codebase with composer like so:
Example Code
There is an example codebase on GitHub that demonstrates using this package. Also, the following code snippet creates a Google SSO client and sends the user to Google to login.
All versions of google-sso with dependencies
psr/http-factory Version ^1.1
psr/http-client Version ^1.0
ext-json Version *
firebase/php-jwt Version ^6.11
psr/cache Version ^3.0