{"id":36982484,"url":"https://github.com/passbase/passbase-php","last_synced_at":"2026-01-13T22:52:25.516Z","repository":{"id":49933464,"uuid":"294127322","full_name":"passbase/passbase-php","owner":"passbase","description":"Building the future of identity in PHP","archived":false,"fork":false,"pushed_at":"2022-03-25T07:37:15.000Z","size":200,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-27T09:27:21.158Z","etag":null,"topics":["api-client","composer","passbase","php"],"latest_commit_sha":null,"homepage":"https://passbase.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/passbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-09T13:51:22.000Z","updated_at":"2024-12-25T07:41:48.000Z","dependencies_parsed_at":"2022-08-24T06:40:30.614Z","dependency_job_id":null,"html_url":"https://github.com/passbase/passbase-php","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/passbase/passbase-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passbase%2Fpassbase-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passbase%2Fpassbase-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passbase%2Fpassbase-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passbase%2Fpassbase-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/passbase","download_url":"https://codeload.github.com/passbase/passbase-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passbase%2Fpassbase-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28402171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api-client","composer","passbase","php"],"created_at":"2026-01-13T22:52:25.383Z","updated_at":"2026-01-13T22:52:25.499Z","avatar_url":"https://github.com/passbase.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# passbase\n\n# Introduction\n\n\u003cspan class=\\\"subtext\\\"\u003e\nWelcome to the Passbase Verifications API docs. This documentation will\nhelp you understand our models and the Verification API with its endpoints.\nBased on this you can build your own system (i.e. verification) and hook it\nup to Passbase.\n\nIn case of feedback or questions you can reach us under this email address: [developer@passbase.com](mailto:developer@passbase.com).\n\u003c/span\u003e\n\nA User submits a video selfie and valid identifying __Resources__ during a\n__Verification__ guided by the Passbase client-side integration. Once all\nthe necessary __Resources__ are submitted, __Data points__ are extracted,\ndigitized, and authenticated. These Data points then becomes part of the\nUser's __Identity__. The User then consents to share __Resources__ and/or\n__Data points__ from their Identity with you. This information is passed\nto you and can be used to make decisions about a User (e.g. activate account).\nThis table below explains our terminology further.\n\n| Term                                    | Description |\n|-----------------------------------------|-------------|\n| [Identity](#tag/identity_model)         | A set of Data points and Resources related to and owned by one single User. This data can be accessed by you through a Verification. |\n| Data points                             | Any data about a User extracted from a Resource (E.g. Passport Number, or Age). |\n| [Resource](#tag/resource_model)         | A source document used to generate the Data points for a User (E.g. Passport). |\n| [User](#tag/user_model)                 | The owner of an email address associated with an Identity. |\n| Verification                            | A transaction through which a User consents to share Data points with you. If the Data points you request are not already available in the User's Identity, the Passbase client will ask the User to submit the necessary Resource required to extract them. |\n| Re-authentication (login)               | A transaction through which a User can certify the ownership of Personal data previously shared through an Authentication. |\n\n\n# Authentication\n\n\u003cspan class=\\\"subtext\\\"\u003e\nThere are two forms of authentication for the API:\n\u003cbr/\u003e\u0026bull; API Key\n\u003cbr/\u003e\u0026bull; Bearer JWT Token\n\n\u003c/span\u003e\n\n\n\n## Installation \u0026 Usage\n\n### Requirements\n\nPHP 7.3 and later.\nShould also work with PHP 8.0 or 8.1 but has not been tested.\n\n### Composer\n\nTo install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:\n\n```json\n{\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github.com/passbase/passbase-php.git\"\n    }\n  ],\n  \"require\": {\n    \"passbase/passbase-php\": \"*@dev\"\n  }\n}\n```\n\nThen run `composer install`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n\u003c?php\nrequire_once('/path/to/passbase/vendor/autoload.php');\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n\n\n// Configure API key authorization: SecretApiKey\n$config = Passbase\\Configuration::getDefaultConfiguration()-\u003esetApiKey('X-API-KEY', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = Passbase\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('X-API-KEY', 'Bearer');\n\n\n$apiInstance = new Passbase\\Api\\IdentityApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = 'id_example'; // string | Unique ID of the identity to return\n\ntry {\n    $result = $apiInstance-\u003egetIdentityById($id);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling IdentityApi-\u003egetIdentityById: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n```\n\n## API Endpoints\n\nAll URIs are relative to *https://api.passbase.com/verification/v2*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*IdentityApi* | [**getIdentityById**](docs/Api/IdentityApi.md#getidentitybyid) | **GET** /identities/{id} | Get identity\n*IdentityApi* | [**getIdentityResourceById**](docs/Api/IdentityApi.md#getidentityresourcebyid) | **GET** /identity/{id}/resources/{resource_id} | Get resource\n*IdentityApi* | [**getIdentityResourceFileById**](docs/Api/IdentityApi.md#getidentityresourcefilebyid) | **GET** /identity/{id}/resources/{resource_id}/resource_files/{resource_file_id} | Get resource file\n*IdentityApi* | [**listIdentities**](docs/Api/IdentityApi.md#listidentities) | **GET** /identities | List identities\n*IdentityApi* | [**listIdentityResources**](docs/Api/IdentityApi.md#listidentityresources) | **GET** /identity/{id}/resources | List resources\n*ProjectApi* | [**getSettings**](docs/Api/ProjectApi.md#getsettings) | **GET** /settings | Get project settings\n\n## Models\n\n- [Cursor](docs/Model/Cursor.md)\n- [Identity](docs/Model/Identity.md)\n- [IdentityOwner](docs/Model/IdentityOwner.md)\n- [IdentityResource](docs/Model/IdentityResource.md)\n- [PaginatedIdentities](docs/Model/PaginatedIdentities.md)\n- [PaginatedResources](docs/Model/PaginatedResources.md)\n- [ProjectSettings](docs/Model/ProjectSettings.md)\n- [ProjectSettingsCustomizations](docs/Model/ProjectSettingsCustomizations.md)\n- [ProjectSettingsVerificationSteps](docs/Model/ProjectSettingsVerificationSteps.md)\n- [Resource](docs/Model/Resource.md)\n- [ResourceFile](docs/Model/ResourceFile.md)\n- [ResourceInput](docs/Model/ResourceInput.md)\n- [User](docs/Model/User.md)\n- [WatchlistResponse](docs/Model/WatchlistResponse.md)\n\n## Authorization\n\n### IdentityAccessToken\n\n- **Type**: Bearer authentication (JWT)\n\n\n### PublishableApiKey\n\n- **Type**: API key\n- **API key parameter name**: X-API-KEY\n- **Location**: HTTP header\n\n\n\n### SecretApiKey\n\n- **Type**: API key\n- **API key parameter name**: X-API-KEY\n- **Location**: HTTP header\n\n\n## Tests\n\nTo run the tests, use:\n\n```bash\ncomposer install\nvendor/bin/phpunit\n```\n\n## Author\n\n\n\n## About this package\n\nThis PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: `1.0.0`\n    - Package version: `2.0.0`\n- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassbase%2Fpassbase-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassbase%2Fpassbase-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassbase%2Fpassbase-php/lists"}