{"id":30773378,"url":"https://github.com/syniol/xyo-sdk-php","last_synced_at":"2026-01-20T16:44:02.478Z","repository":{"id":309909734,"uuid":"1037989912","full_name":"syniol/xyo-sdk-php","owner":"syniol","description":"XYO Financial SDK for PHP","archived":false,"fork":false,"pushed_at":"2025-08-29T20:40:22.000Z","size":19636,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T22:38:33.704Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syniol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-14T12:49:09.000Z","updated_at":"2025-08-29T20:40:26.000Z","dependencies_parsed_at":"2025-08-14T14:30:35.846Z","dependency_job_id":"658776bb-e87f-40a9-95b4-9b0724177c0d","html_url":"https://github.com/syniol/xyo-sdk-php","commit_stats":null,"previous_names":["syniol/xyo-sdk-php"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/syniol/xyo-sdk-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syniol","download_url":"https://codeload.github.com/syniol/xyo-sdk-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272778285,"owners_count":24991500,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-09-05T01:50:48.373Z","updated_at":"2026-01-20T16:44:02.472Z","avatar_url":"https://github.com/syniol.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XYO Financial SDK for PHP\n![workflow](https://github.com/syniol/xyo-sdk-php/actions/workflows/makefile.yml/badge.svg)    ![workflow](https://github.com/syniol/xyo-sdk-php/actions/workflows/packagist_publish.yml/badge.svg)\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://xyo.financial\" target=\"blank\"\u003e\u003cimg alt=\"PHP (Elephant) Mascot\" width=\"50%\" src=\"https://github.com/syniol/xyo-sdk-php/blob/main/docs/mascot.png?raw=true\" /\u003e\u003c/a\u003e\n    \u003csup\u003e\u003cbr /\u003eOfficial PHP Mascot for XYO.Financial Generated by Adobe AI and Imagined by Syniol Limited\u003c/sup\u003e\n\u003c/p\u003e\n\nThis SDK is official XYO.Financial and maintained by [Syniol Limited](https://syniol.com) for PHP Programming Language.\nThe minimum requirement is PHP version: `7.1.33`. It can be utilised for Trial and Premium accounts, given that a valid \nAPI key is available to connect to and access the Enrichment services.\n\n\n## Quickstart Guide\nFirst you need to install the XYO SDK for PHP ecosystem via [Packagist](https://packagist.org/packages/xyo/sdk) package management.\n\n```shell\ncomposer require xyo/sdk\n```\n\nClient is an entry point to use the SDK. You need a valid API Key obtainable from https://xyo.financial/dashboard\n\n__Create a Client__:\n```php\nuse XYO\\SDK\\Client;\nuse XYO\\SDK\\ClientConfig;\nuse XYO\\SDK\\Enrichment\\DTO\\EnrichmentRequest;\n\n$client = new Client(new ClientConfig(\"YourAPIKeyFromXYO.FinancialDashboard\"))\n```\n\n__Enrich a Single Payment Transaction__:\n```php\n$enrichmentResult = $client-\u003eenrichTransaction(new EnrichmentRequest(\"Costa PICKUP\", \"GB\"));\n\necho $enrichmentResult-\u003emerchant;\necho $enrichmentResult-\u003edescription;\necho $enrichmentResult-\u003ecategories;\necho $enrichmentResult-\u003elogo;\n```\n\n__Enrich Payment Transaction Collection _(Bulk Enrichment)___:\n```php\n$enrichmentCollectionResult = $client-\u003eenrichTransactionCollection([\n    new EnrichmentRequest(\"Costa PickUp\", \"GB\"),\n    new EnrichmentRequest(\"STRBUKS GREENWICH\", \"GB\")\n]);\n\necho $enrichmentCollectionResult-\u003eid;\necho $enrichmentCollectionResult-\u003elink;\n```\n\n__Payment Transaction Collection Status__:\n```php\n$enrichmentCollectionStatusResult = $client-\u003eenrichTransactionCollectionStatus($enrichmentCollectionResult-\u003eid);\n\necho $enrichmentCollectionStatusResult-\u003egetStatus();\n```\n\n\n#### Credits\nCopyright \u0026copy; 2025 Syniol Limited. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyniol%2Fxyo-sdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyniol%2Fxyo-sdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyniol%2Fxyo-sdk-php/lists"}