alancole/ true-layer
用于操作TrueLayer API的简单SDK
1.1
2019-03-28 11:59 UTC
Requires
- ext-json: *
- guzzlehttp/guzzle: ^6.3
- guzzlehttp/streams: ^3.0
- teapot/status-code: ^1.1
Requires (Dev)
- filp/whoops: ^2.3
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-09-19 22:25:11 UTC
README
开始一个令牌请求
$tl = new TrueLayer\Connection(
$client_id,
$client_secret,
$redirect_uri
);
header('Location: ' . $tl->getAuthorizartionLink());
交换令牌并获取账户信息
$token = $tl->getOauthToken($code);
$accounts = (new TrueLayer\Bank\Accounts($tl, $token))
->getAllAccounts();
var_dump($accounts);
贡献者
Kevin Diem - kgdiem