{"id":22521292,"url":"https://github.com/conductionnl/waardepapieren-php","last_synced_at":"2025-03-28T03:21:10.791Z","repository":{"id":54960571,"uuid":"322221387","full_name":"ConductionNL/waardepapieren-php","owner":"ConductionNL","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-19T15:23:36.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-02T04:28:20.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConductionNL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-17T07:54:48.000Z","updated_at":"2022-01-31T15:27:24.000Z","dependencies_parsed_at":"2022-08-14T07:30:47.888Z","dependency_job_id":null,"html_url":"https://github.com/ConductionNL/waardepapieren-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConductionNL%2Fwaardepapieren-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConductionNL%2Fwaardepapieren-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConductionNL%2Fwaardepapieren-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConductionNL%2Fwaardepapieren-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConductionNL","download_url":"https://codeload.github.com/ConductionNL/waardepapieren-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245961991,"owners_count":20701015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T05:10:41.261Z","updated_at":"2025-03-28T03:21:10.771Z","avatar_url":"https://github.com/ConductionNL.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Waardepapieren API client for PHP\u003c/h1\u003e\n\n## Requirements ##\nTo use the waardepapieren API client, the following things are required:\n\n+ PHP \u003e= 7.4.0\n\n\n## Composer Installation ##\n\nBy far the easiest way to install the waardepapieren API client is to require it with [Composer](http://getcomposer.org/doc/00-intro.md).\n\n    $ composer require conduction/waardepapieren-php:dev-main\n\n    {\n        \"require\": {\n            \"conduction/waardepapieren-php\":dev-main\n        }\n    }\n\n\n\n## Getting started ##\n\nInitializing the waardepapieren API client.\n\n```php\n$waardepapieren = new \\Conduction\\Waardepapieren\\WaardepapierenApiClient();\n``` \n\n## Validating JWS Tokens ##\nFor validating JWS tokens we provide two functions.\n\nFor validating the signature of the token we use the verifyJWSToken function.\nThis function needs the public JWK key and the JWS token.\n```php\n$valid = $waardepapieren-\u003everifyJWSToken($key, $token);\n```\n\nIt wil then return a boolean based on the fact if the signature is valid.\n\nThe second function named checkTokenData looks for differences is the data that's present in the JWS token compared to an array.\nThe provided array is the data of the claim.\n\nThis function needs the JWS token and a array with data.\n```php\n$valid = $waardepapieren-\u003echeckTokenData($token, $data);\n```\n\nIt will then return a boolean based on the fact if there is a difference between the two datasets.\nTrue means there are no differences between the datasets and false if the two datasets differ from each other.\n\n## License ##\nCopyright (c) 2018 Copyright. All Rights Reserved. Made with love by \u003cstrong\u003eConduction\u003c/strong\u003e.\n\n## Support ##\nContact: \u003ca href=\"https://conduction.nl\" target=\"_blank\"\u003ewww.conduction.nl \u003c/a\u003e — info@conduction.nl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconductionnl%2Fwaardepapieren-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconductionnl%2Fwaardepapieren-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconductionnl%2Fwaardepapieren-php/lists"}