sizeid / oauth2
Package for communication with SizeID Business API.
2.0.1
2020-01-27 13:26 UTC
Requires
- php: >=5.6
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- latte/latte: ^2.4
- mockery/mockery: ^1.3
- nette/tester: ^1.7
- tracy/tracy: ^2.4
This package is not auto-updated.
Last update: 2026-03-03 21:11:17 UTC
README
Package for simple communication with SizeID Business API. For more information see sizeid/oauth2 documentation and SizeID Business API documentation.
Installation into existing project
- Get the code
composer require sizeid/oauth2
-
Get
clientIdandclientSecretfrom your SizeID for Business account. Free tariff available. -
Initialize communication objects
- for client endpoints calls see examples/clientApi.php
- for user endpoints calls see examples/userApi.php
- for login with sizeid using popup see examples/popupLogin.php
Examples
- Get the code
composer create-project sizeid/oauth2
-
Get
clientIdandclientSecretfrom your SizeID for Business account. Free tariff available. -
Navigate to
examplesdirectory, copyconfig.example.phptoconfig.php, change constantsCLIENT_IDandCLIENT_SECRET, run example file with webserver.