{"id":19336466,"url":"https://github.com/prometee/viesclient","last_synced_at":"2025-04-23T01:30:47.370Z","repository":{"id":33566052,"uuid":"159555518","full_name":"Prometee/VIESClient","owner":"Prometee","description":"European VAT Information Exchange System SOAP client","archived":false,"fork":false,"pushed_at":"2025-02-26T17:26:34.000Z","size":67,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-17T14:38:37.820Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Prometee.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":"2018-11-28T19:41:54.000Z","updated_at":"2025-02-26T17:25:48.000Z","dependencies_parsed_at":"2023-01-15T01:27:24.043Z","dependency_job_id":null,"html_url":"https://github.com/Prometee/VIESClient","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prometee%2FVIESClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prometee%2FVIESClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prometee%2FVIESClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prometee%2FVIESClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prometee","download_url":"https://codeload.github.com/Prometee/VIESClient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250352159,"owners_count":21416452,"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-11-10T03:11:13.182Z","updated_at":"2025-04-23T01:30:47.100Z","avatar_url":"https://github.com/Prometee.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Build Status][ico-github-actions]][link-github-actions]\n[![Quality Score][ico-code-quality]][link-code-quality]\n\n## European VAT Information Exchange System SOAP client\n\nThis library is designed to handle validation trough VIES Soap WebService.\n\nSee https://ec.europa.eu/taxation_customs/vies/ for more information.\n\n## Installation\n\nInstall using Composer :\n\n```\n$ composer require prometee/vies-client\n```\n\n## Usage\n\n```php\n$loader = require_once( __DIR__.'/vendor/autoload.php');\n\nuse Prometee\\VIESClient\\Soap\\Client\\DeferredViesSoapClient;\nuse Prometee\\VIESClient\\Soap\\Client\\ViesSoapClient;\nuse Prometee\\VIESClient\\Soap\\Factory\\ViesSoapClientFactory;\nuse Prometee\\VIESClient\\Helper\\ViesHelper;\n\n// Use the Deferred client to avoid getting error\n// when the WSDL file is not accessible\n$viesSoapClientFactory = ViesSoapClientFactory(ViesSoapClient::class);\n$viesSoapClient = new DeferredViesSoapClient($viesSoapClientFactory);\n\n$viesHelper = new ViesHelper($viesSoapClient);\n$viesHelper-\u003eisValid('FR12345678987');\n\n// Should print:\n// 0: CHECK_STATUS_INVALID =\u003e Format is not valid and the webservice is not reachable)\n// 1: CHECK_STATUS_INVALID_WEBSERVICE =\u003e Format is not valid according to the webservice\n// 2: CHECK_STATUS_VALID_FORMAT =\u003e Format is valid but the webservice is not reachable\n// 3: CHECK_STATUS_VALID_WEBSERVICE =\u003e Format is valid and the VAT number exists\nprint_r($viesHelper-\u003eisValid('FR12345678987'));\n\n```\n\n[ico-version]: https://img.shields.io/packagist/v/Prometee/vies-client.svg?style=flat-square\n[ico-github-actions]: https://github.com/Prometee/VIESClient/workflows/Build/badge.svg\n[ico-code-quality]: https://img.shields.io/scrutinizer/g/Prometee/VIESClient.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/prometee/vies-client\n[link-github-actions]: https://github.com/Prometee/VIESClient/actions?query=workflow%3A\"Build\"\n[link-code-quality]: https://scrutinizer-ci.com/g/Prometee/VIESClient\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprometee%2Fviesclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprometee%2Fviesclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprometee%2Fviesclient/lists"}